Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001311/0.001311, allocations: 195.7 kB / 16.14 MB, free: 6.645 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.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9687/0.9687, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 72.66 kB / 0.5047 GB, free: 5.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2008, allocations: 80.92 MB / 0.5837 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5103/0.7112, allocations: 159.4 MB / 0.7393 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03801/0.7492, allocations: 26.86 MB / 0.7656 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005092/0.7543, allocations: 71.62 kB / 0.7656 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002988/0.7574, allocations: 0.941 MB / 0.7665 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006091/0.7635, allocations: 1.595 MB / 0.7681 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005414/0.7689, allocations: 1.59 MB / 0.7697 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008782/0.7777, allocations: 5.453 MB / 0.775 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007366/0.7851, allocations: 4.051 MB / 0.7789 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004012/0.7892, allocations: 1.767 MB / 0.7807 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004532/0.7937, allocations: 2.418 MB / 0.783 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001565/0.7953, allocations: 260 kB / 0.7833 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/0.7987, allocations: 0.8624 MB / 0.7841 GB, free: 40 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002131/0.8008, allocations: 1.012 MB / 0.7851 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004516/0.8054, allocations: 1.938 MB / 0.787 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009053/0.8144, allocations: 5.892 MB / 0.7927 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.8145, allocations: 3.938 kB / 0.7928 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8145, allocations: 0 / 0.7928 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002762/0.8148, allocations: 0 / 0.7928 GB, free: 7.16 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01296/0.8277, allocations: 4.756 MB / 0.7974 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.8278, allocations: 8.031 kB / 0.7974 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01458/0.8424, allocations: 2.788 MB / 0.8001 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005666/0.8481, allocations: 2.374 MB / 0.8024 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.8484, allocations: 262.9 kB / 0.8027 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000819/0.8492, allocations: 335.9 kB / 0.803 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/0.8623, allocations: 5.389 MB / 0.8083 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.215e-05/0.8624, allocations: 0 / 0.8083 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004148/0.8628, allocations: 147.9 kB / 0.8084 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.729e-05/0.8629, allocations: 80 kB / 0.8085 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/0.8792, allocations: 6.527 MB / 0.8149 GB, free: 280 kB / 0.6231 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.03588/0.9151, allocations: 15.71 MB / 0.8302 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/0.9253, allocations: 4.084 MB / 0.8342 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006126/0.9315, allocations: 2.655 MB / 0.8368 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.9327, allocations: 0.6775 MB / 0.8375 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007363/0.9401, allocations: 2.565 MB / 0.84 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=288): time 7.054e-06/0.9401, allocations: 0 / 0.84 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of matching and sorting (n=288): time 0.02451/0.9646, allocations: 8.398 MB / 0.8482 GB, free: 13.26 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.9648, allocations: 210.2 kB / 0.8484 GB, free: 13.01 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005093/0.9699, allocations: 2.509 MB / 0.8508 GB, free: 10.48 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007743/0.9707, allocations: 73.7 kB / 0.8509 GB, free: 10.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001742/0.9725, allocations: 1.435 MB / 0.8523 GB, free: 8.949 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001622/0.9741, allocations: 0.9548 MB / 0.8532 GB, free: 7.98 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002219/0.9763, allocations: 0.5088 MB / 0.8537 GB, free: 7.465 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9765, allocations: 305.1 kB / 0.854 GB, free: 7.164 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005302/0.9818, allocations: 2.058 MB / 0.856 GB, free: 5.102 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005741/0.9875, allocations: 2.38 MB / 0.8583 GB, free: 2.648 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3691/1.357, allocations: 4.422 MB / 0.8627 GB, free: 214.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1.357, allocations: 0 / 0.8627 GB, free: 214.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01131/1.368, allocations: 5.33 MB / 0.8679 GB, free: 213.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/1.368, allocations: 5.5 kB / 0.8679 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/1.368, allocations: 5 kB / 0.8679 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/1.369, allocations: 0.5347 MB / 0.8684 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00361/1.373, allocations: 0.795 MB / 0.8692 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006181/1.379, allocations: 5.28 MB / 0.8743 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0039/1.383, allocations: 0.5631 MB / 0.8749 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003671/1.383, allocations: 116.4 kB / 0.875 GB, free: 210.6 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 (282): * Single equations (assignments): 281 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001795/1.385, allocations: 0.9686 MB / 0.8759 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005935/1.386, allocations: 292.8 kB / 0.8762 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/1.397, allocations: 5.889 MB / 0.882 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/1.397, allocations: 28.28 kB / 0.882 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.397, allocations: 9.344 kB / 0.882 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/1.397, allocations: 17.25 kB / 0.882 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/1.414, allocations: 9.895 MB / 0.8917 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.414, allocations: 3.422 kB / 0.8917 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003708/1.418, allocations: 0.7476 MB / 0.8924 GB, free: 204.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/1.419, allocations: 0.52 MB / 0.8929 GB, free: 204.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002969/1.42, allocations: 84.2 kB / 0.893 GB, free: 204.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007101/1.427, allocations: 6.951 MB / 0.8998 GB, free: 199.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.427, allocations: 1.031 kB / 0.8998 GB, free: 199.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02058/1.447, allocations: 8.394 MB / 0.908 GB, free: 196.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002723/1.45, allocations: 0.8413 MB / 0.9088 GB, free: 196 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/1.452, allocations: 66.84 kB / 0.9089 GB, free: 195.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003883/1.455, allocations: 425.2 kB / 0.9093 GB, free: 195.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008154/1.456, allocations: 188.4 kB / 0.9095 GB, free: 195.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005825/1.457, allocations: 103 kB / 0.9096 GB, free: 195.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003542/1.46, allocations: 1.825 MB / 0.9113 GB, free: 195.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/1.46, allocations: 2.953 kB / 0.9113 GB, free: 195.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004519/1.465, allocations: 1.11 MB / 0.9124 GB, free: 194.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,36,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.002634/1.468, allocations: 1.023 MB / 0.9134 GB, free: 194.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01303/1.481, allocations: 5.096 MB / 0.9184 GB, free: 193 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.481, allocations: 0 / 0.9184 GB, free: 193 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007395/1.488, allocations: 2.95 MB / 0.9213 GB, free: 192 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004904/1.493, allocations: 0.6709 MB / 0.9219 GB, free: 191.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/1.512, allocations: 9.894 MB / 0.9316 GB, free: 186.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002889/1.515, allocations: 2.553 MB / 0.9341 GB, free: 185.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00445/1.519, allocations: 1.128 MB / 0.9352 GB, free: 185.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.52, allocations: 268.5 kB / 0.9355 GB, free: 185.4 MB / 0.67 GB Notification: Performance of SimCode: time 8.82e-07/1.52, allocations: 0 / 0.9355 GB, free: 185.4 MB / 0.67 GB Notification: Performance of Templates: time 0.07035/1.591, allocations: 47.9 MB / 0.9822 GB, free: 139.2 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)