Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 106 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.815/0.815, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 55.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4188, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1917/0.6106, allocations: 163.1 MB / 0.7407 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4125/1.023, allocations: 27.44 MB / 0.7675 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005042/1.028, allocations: 85.19 kB / 0.7676 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003139/1.031, allocations: 1.133 MB / 0.7687 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00719/1.039, allocations: 1.884 MB / 0.7706 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006176/1.045, allocations: 1.988 MB / 0.7725 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01186/1.057, allocations: 5.854 MB / 0.7782 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007213/1.064, allocations: 4.877 MB / 0.783 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005331/1.069, allocations: 2.314 MB / 0.7853 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004636/1.074, allocations: 2.83 MB / 0.788 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009668/1.075, allocations: 0.5213 MB / 0.7885 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/1.078, allocations: 1.134 MB / 0.7896 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001209/1.079, allocations: 1.36 MB / 0.791 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003014/1.082, allocations: 2.391 MB / 0.7933 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007935/1.09, allocations: 6.751 MB / 0.7999 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.09, allocations: 6.391 kB / 0.7999 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/1.09, allocations: 0 / 0.7999 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001787/1.09, allocations: 1.969 kB / 0.7999 GB, free: 14.89 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.0116/1.102, allocations: 5.099 MB / 0.8049 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.102, allocations: 12.47 kB / 0.8049 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/1.115, allocations: 2.835 MB / 0.8077 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006667/1.122, allocations: 2.552 MB / 0.8102 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/1.122, allocations: 277.9 kB / 0.8104 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001387/1.124, allocations: 372 kB / 0.8108 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/1.139, allocations: 5.725 MB / 0.8164 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.704e-05/1.139, allocations: 2.938 kB / 0.8164 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004679/1.14, allocations: 156.3 kB / 0.8165 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-05/1.14, allocations: 89.53 kB / 0.8166 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01701/1.157, allocations: 6.857 MB / 0.8233 GB, free: 3.555 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03518/1.192, allocations: 17.25 MB / 0.8401 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009823/1.202, allocations: 4.482 MB / 0.8445 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006245/1.208, allocations: 2.939 MB / 0.8474 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/1.209, allocations: 0.6795 MB / 0.8481 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006308/1.216, allocations: 2.732 MB / 0.8507 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=315): time 5.611e-06/1.216, allocations: 0 / 0.8507 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of matching and sorting (n=315): time 0.02663/1.242, allocations: 9.69 MB / 0.8602 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/1.243, allocations: 218.4 kB / 0.8604 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/1.247, allocations: 2.661 MB / 0.863 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006732/1.247, allocations: 85.7 kB / 0.8631 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001539/1.249, allocations: 1.538 MB / 0.8646 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00132/1.25, allocations: 1.045 MB / 0.8656 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/1.251, allocations: 0.5408 MB / 0.8661 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.547e-05/1.251, allocations: 301.1 kB / 0.8664 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00493/1.256, allocations: 2.179 MB / 0.8685 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005333/1.262, allocations: 2.529 MB / 0.871 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/1.272, allocations: 4.707 MB / 0.8756 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/1.272, allocations: 8 kB / 0.8756 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01343/1.285, allocations: 5.801 MB / 0.8813 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/1.285, allocations: 4 kB / 0.8813 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.285, allocations: 4 kB / 0.8813 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001886/1.287, allocations: 0.8474 MB / 0.8821 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00439/1.292, allocations: 0.8002 MB / 0.8829 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/1.302, allocations: 7.559 MB / 0.8903 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004588/1.307, allocations: 0.5672 MB / 0.8908 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006646/1.308, allocations: 119.9 kB / 0.8909 GB, free: 13.34 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002512/1.31, allocations: 1.033 MB / 0.892 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008409/1.311, allocations: 304.2 kB / 0.8922 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/1.326, allocations: 6.375 MB / 0.8985 GB, free: 5.609 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/1.326, allocations: 32.09 kB / 0.8985 GB, free: 5.578 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/1.326, allocations: 15.94 kB / 0.8985 GB, free: 5.562 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.339e-05/1.326, allocations: 15.94 kB / 0.8985 GB, free: 5.547 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02154/1.347, allocations: 10.73 MB / 0.909 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/1.347, allocations: 4 kB / 0.909 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003981/1.351, allocations: 0.7619 MB / 0.9098 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/1.353, allocations: 0.7411 MB / 0.9105 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004381/1.354, allocations: 87.94 kB / 0.9106 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/1.365, allocations: 10.66 MB / 0.921 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.365, allocations: 0 / 0.921 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/1.385, allocations: 9.079 MB / 0.9298 GB, free: 5.035 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002778/1.388, allocations: 0.8908 MB / 0.9307 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007794/1.389, allocations: 71.84 kB / 0.9308 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003337/1.392, allocations: 403.4 kB / 0.9312 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005971/1.393, allocations: 213.4 kB / 0.9314 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002897/1.393, allocations: 103.9 kB / 0.9315 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002823/1.396, allocations: 1.936 MB / 0.9334 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.51e-07/1.396, allocations: 4 kB / 0.9334 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003682/1.4, allocations: 1.219 MB / 0.9346 GB, free: 184 kB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002521/1.402, allocations: 1.045 MB / 0.9356 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0119/1.414, allocations: 5.515 MB / 0.941 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.414, allocations: 4 kB / 0.941 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006822/1.421, allocations: 3.327 MB / 0.9442 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003645/1.425, allocations: 0.7715 MB / 0.945 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/1.441, allocations: 8.905 MB / 0.9537 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002343/1.443, allocations: 2.695 MB / 0.9563 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00411/1.447, allocations: 1.161 MB / 0.9574 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/1.449, allocations: 279.3 kB / 0.9577 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of SimCode: time 1.112e-06/1.449, allocations: 0 / 0.9577 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of Templates: time 0.08702/1.536, allocations: 54.61 MB / 1.011 GB, free: 2.922 MB / 0.7794 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)