Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7578/0.7578, allocations: 130.6 MB / 143.8 MB, free: 13.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.717/1.717, allocations: 221.3 MB / 396.8 MB, free: 9.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009545/0.0009544, allocations: 105.7 kB / 479 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.62e-05/3.622e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1903, allocations: 81.59 MB / 0.6347 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.916/5.107, allocations: 2.158 GB / 2.792 GB, free: 58.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/5.107, allocations: 79.95 kB / 2.792 GB, free: 58.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.55/7.657, allocations: 0.6398 GB / 3.432 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/7.657, allocations: 0 / 3.432 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002605/7.658, allocations: 63.28 kB / 3.432 GB, free: 117.1 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.007284/7.665, allocations: 2.635 MB / 3.435 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/7.665, allocations: 11.03 kB / 3.435 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/7.667, allocations: 475.7 kB / 3.435 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006633/7.674, allocations: 2.687 MB / 3.438 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/7.674, allocations: 144.1 kB / 3.438 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/7.674, allocations: 135.2 kB / 3.438 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/7.677, allocations: 1.402 MB / 3.44 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/7.677, allocations: 0 / 3.44 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/7.677, allocations: 58.12 kB / 3.44 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-05/7.677, allocations: 48.09 kB / 3.44 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/7.679, allocations: 1.108 MB / 3.441 GB, free: 115.2 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.009714/7.689, allocations: 6.664 MB / 3.447 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/7.69, allocations: 1.091 MB / 3.448 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008671/7.691, allocations: 0.606 MB / 3.449 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004259/7.692, allocations: 292.5 kB / 3.449 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009783/7.693, allocations: 0.6121 MB / 3.45 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=113): time 6.001e-06/7.693, allocations: 0 / 3.45 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=113): time 0.002973/7.696, allocations: 1.439 MB / 3.451 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/7.696, allocations: 81.31 kB / 3.451 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005393/7.701, allocations: 3.543 MB / 3.455 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001708/7.701, allocations: 52.25 kB / 3.455 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/7.702, allocations: 1.28 MB / 3.456 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/7.703, allocations: 374.2 kB / 3.456 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/7.703, allocations: 23.62 kB / 3.456 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.474e-05/7.703, allocations: 349.3 kB / 3.457 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006358/7.703, allocations: 430.6 kB / 3.457 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007373/7.704, allocations: 0.6965 MB / 3.458 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008009/7.705, allocations: 0.5211 MB / 3.458 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/7.705, allocations: 3.969 kB / 3.458 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003148/7.708, allocations: 1.632 MB / 3.46 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/7.708, allocations: 10.28 kB / 3.46 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/7.708, allocations: 10.31 kB / 3.46 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006443/7.709, allocations: 228.6 kB / 3.46 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000911/7.71, allocations: 251.5 kB / 3.46 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/7.714, allocations: 4.174 MB / 3.464 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/7.716, allocations: 208.8 kB / 3.465 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/7.716, allocations: 50.84 kB / 3.465 GB, free: 107.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002979/7.716, allocations: 200.9 kB / 3.465 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004216/7.716, allocations: 281.8 kB / 3.465 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/7.719, allocations: 1.58 MB / 3.467 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/7.719, allocations: 11.62 kB / 3.467 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/7.719, allocations: 3.953 kB / 3.467 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001751/7.721, allocations: 1.345 MB / 3.468 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007215/7.728, allocations: 4.055 MB / 3.472 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/7.728, allocations: 3.938 kB / 3.472 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007788/7.729, allocations: 185.3 kB / 3.472 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000491/7.73, allocations: 202.3 kB / 3.472 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/7.73, allocations: 33.73 kB / 3.472 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003514/7.733, allocations: 4.206 MB / 3.477 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/7.733, allocations: 1.312 kB / 3.477 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003716/7.737, allocations: 2.359 MB / 3.479 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/7.739, allocations: 0.6243 MB / 3.479 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/7.739, allocations: 40.11 kB / 3.479 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009729/7.74, allocations: 119.3 kB / 3.48 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/7.74, allocations: 101.5 kB / 3.48 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/7.74, allocations: 40.39 kB / 3.48 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003847/7.744, allocations: 2.812 MB / 3.482 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.11e-07/7.744, allocations: 0 / 3.482 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002953/7.747, allocations: 0.784 MB / 3.483 GB, free: 102.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00304/7.75, allocations: 1.699 MB / 3.485 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002433/7.752, allocations: 1.422 MB / 3.486 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/7.752, allocations: 2.938 kB / 3.486 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/7.754, allocations: 0.8804 MB / 3.487 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/7.757, allocations: 0.5415 MB / 3.488 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009058/7.766, allocations: 5.017 MB / 3.493 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/7.768, allocations: 1.98 MB / 3.495 GB, free: 99.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00161/7.769, allocations: 436.5 kB / 3.495 GB, free: 99.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004507/7.77, allocations: 158.9 kB / 3.495 GB, free: 99.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.483e-06/7.77, allocations: 3.188 kB / 3.495 GB, free: 99.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.07465/7.844, allocations: 47.36 MB / 3.541 GB, free: 87.04 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)