Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008256/0.008256, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7986/0.7986, allocations: 132.4 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003873, allocations: 8.688 kB / 0.504 GB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.4795, allocations: 81.57 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1785/0.658, allocations: 156.2 MB / 0.7362 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03602/0.694, allocations: 26.31 MB / 0.7619 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004027/0.6981, allocations: 67.62 kB / 0.762 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002844/0.701, allocations: 0.9062 MB / 0.7628 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00561/0.7066, allocations: 1.508 MB / 0.7643 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004669/0.7113, allocations: 1.498 MB / 0.7658 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00704/0.7184, allocations: 5.061 MB / 0.7707 GB, free: 300 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005902/0.7243, allocations: 3.494 MB / 0.7741 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.7275, allocations: 1.357 MB / 0.7755 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003466/0.7309, allocations: 1.906 MB / 0.7773 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0009333/0.7319, allocations: 108 kB / 0.7774 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.7347, allocations: 0.7022 MB / 0.7781 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.736, allocations: 0.735 MB / 0.7788 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003132/0.7392, allocations: 1.566 MB / 0.7804 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006713/0.7459, allocations: 5.306 MB / 0.7855 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.746, allocations: 4 kB / 0.7855 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.385e-06/0.746, allocations: 0 / 0.7855 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001596/0.7461, allocations: 0 / 0.7855 GB, free: 1.004 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.008397/0.7545, allocations: 3.8 MB / 0.7893 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.7546, allocations: 12.03 kB / 0.7893 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01438/0.769, allocations: 2.885 MB / 0.7921 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004584/0.7736, allocations: 2.266 MB / 0.7943 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.7738, allocations: 246.4 kB / 0.7945 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005813/0.7744, allocations: 312 kB / 0.7948 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/0.786, allocations: 5.179 MB / 0.7999 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.655e-05/0.7861, allocations: 7.906 kB / 0.7999 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003784/0.7865, allocations: 135.9 kB / 0.8 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/0.7866, allocations: 83.98 kB / 0.8001 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/0.8026, allocations: 6.374 MB / 0.8063 GB, free: 11.46 MB / 0.6387 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.351/1.154, allocations: 14.57 MB / 0.8206 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/1.166, allocations: 4.513 MB / 0.825 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005983/1.172, allocations: 2.465 MB / 0.8274 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009107/1.173, allocations: 0.6763 MB / 0.828 GB, free: 207 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005859/1.179, allocations: 2.461 MB / 0.8304 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=270): time 7.744e-06/1.179, allocations: 2.484 kB / 0.8304 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=270): time 0.01918/1.198, allocations: 7.578 MB / 0.8378 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/1.198, allocations: 212.8 kB / 0.838 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003764/1.202, allocations: 2.394 MB / 0.8404 GB, free: 202 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003511/1.203, allocations: 73.67 kB / 0.8404 GB, free: 202 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/1.204, allocations: 1.351 MB / 0.8418 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007344/1.204, allocations: 0.9014 MB / 0.8426 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003829/1.205, allocations: 195.8 kB / 0.8428 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.947e-05/1.205, allocations: 304.4 kB / 0.8431 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004243/1.209, allocations: 1.972 MB / 0.8451 GB, free: 198.6 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004718/1.214, allocations: 2.285 MB / 0.8473 GB, free: 197.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008881/1.223, allocations: 4.235 MB / 0.8514 GB, free: 195.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/1.223, allocations: 3.984 kB / 0.8514 GB, free: 195.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01068/1.233, allocations: 4.969 MB / 0.8563 GB, free: 192.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/1.233, allocations: 8 kB / 0.8563 GB, free: 192.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/1.233, allocations: 4 kB / 0.8563 GB, free: 192.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007912/1.234, allocations: 353.2 kB / 0.8566 GB, free: 192 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003729/1.238, allocations: 0.7878 MB / 0.8574 GB, free: 191.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004311/1.242, allocations: 3.921 MB / 0.8612 GB, free: 187.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003864/1.246, allocations: 0.5519 MB / 0.8618 GB, free: 186.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005249/1.247, allocations: 107.9 kB / 0.8619 GB, free: 186.5 MB / 0.6387 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 (278): * Single equations (assignments): 277 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002237/1.249, allocations: 0.925 MB / 0.8628 GB, free: 185.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008082/1.25, allocations: 268.6 kB / 0.863 GB, free: 185.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/1.262, allocations: 5.556 MB / 0.8684 GB, free: 179.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/1.262, allocations: 28 kB / 0.8685 GB, free: 179.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.262, allocations: 7.938 kB / 0.8685 GB, free: 179.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/1.262, allocations: 15.94 kB / 0.8685 GB, free: 179.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/1.279, allocations: 9.302 MB / 0.8776 GB, free: 170.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/1.279, allocations: 6.562 kB / 0.8776 GB, free: 170.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003466/1.282, allocations: 0.7332 MB / 0.8783 GB, free: 169.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009575/1.283, allocations: 380.9 kB / 0.8787 GB, free: 169.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002769/1.283, allocations: 83.92 kB / 0.8787 GB, free: 169.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004806/1.288, allocations: 5.797 MB / 0.8844 GB, free: 163 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.288, allocations: 0 / 0.8844 GB, free: 163 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01527/1.304, allocations: 7.93 MB / 0.8922 GB, free: 155 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001917/1.305, allocations: 0.852 MB / 0.893 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007263/1.306, allocations: 55.98 kB / 0.893 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003246/1.309, allocations: 423.4 kB / 0.8934 GB, free: 153.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004013/1.31, allocations: 178 kB / 0.8936 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002351/1.31, allocations: 95.94 kB / 0.8937 GB, free: 153.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002254/1.312, allocations: 1.741 MB / 0.8954 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.6e-07/1.312, allocations: 0 / 0.8954 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002671/1.315, allocations: 1.028 MB / 0.8964 GB, free: 150.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * 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 {(3,25,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.002394/1.318, allocations: 1.02 MB / 0.8974 GB, free: 150 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009813/1.327, allocations: 4.817 MB / 0.9021 GB, free: 145.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.327, allocations: 4.125 kB / 0.9021 GB, free: 145.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005291/1.333, allocations: 2.763 MB / 0.9048 GB, free: 142.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/1.336, allocations: 0.6253 MB / 0.9054 GB, free: 141.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/1.35, allocations: 9.468 MB / 0.9147 GB, free: 132.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/1.352, allocations: 2.449 MB / 0.9171 GB, free: 129.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004495/1.356, allocations: 1.093 MB / 0.9181 GB, free: 128.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/1.358, allocations: 259.3 kB / 0.9184 GB, free: 128.4 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/1.358, allocations: 0 / 0.9184 GB, free: 128.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.06061/1.418, allocations: 43.63 MB / 0.961 GB, free: 85.14 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)