Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001454/0.001454, allocations: 174.7 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-master/package.mo): time 0.7598/0.7598, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.638/1.638, allocations: 221.3 MB / 400.4 MB, free: 5.797 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.001093/0.001093, allocations: 93 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.012e-05/5.014e-05, allocations: 1.938 kB / 0.56 GB, free: 87.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.239, allocations: 82.31 MB / 0.6404 GB, free: 7.844 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.582/7.821, allocations: 2.158 GB / 2.798 GB, free: 200 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/7.821, allocations: 86.97 kB / 2.798 GB, free: 200 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.067/9.889, allocations: 0.6398 GB / 3.438 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/9.889, allocations: 0 / 3.438 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002101/9.889, allocations: 64.41 kB / 3.438 GB, free: 122.5 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.004401/9.894, allocations: 2.649 MB / 3.441 GB, free: 121 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/9.894, allocations: 8.688 kB / 3.441 GB, free: 121 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/9.895, allocations: 470.9 kB / 3.441 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005629/9.901, allocations: 2.682 MB / 3.444 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/9.901, allocations: 139.5 kB / 3.444 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/9.901, allocations: 137.7 kB / 3.444 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/9.903, allocations: 1.403 MB / 3.445 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/9.903, allocations: 0 / 3.445 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/9.904, allocations: 54.23 kB / 3.445 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/9.904, allocations: 48.38 kB / 3.446 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/9.905, allocations: 1.108 MB / 3.447 GB, free: 118.5 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.008388/9.914, allocations: 6.662 MB / 3.453 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/9.915, allocations: 1.096 MB / 3.454 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007606/9.916, allocations: 0.5985 MB / 3.455 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/9.916, allocations: 295.2 kB / 3.455 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008148/9.917, allocations: 0.6184 MB / 3.456 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=113): time 3.086e-06/9.917, allocations: 0 / 3.456 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=113): time 0.002446/9.92, allocations: 1.44 MB / 3.457 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/9.92, allocations: 64.41 kB / 3.457 GB, free: 109 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004511/9.924, allocations: 3.547 MB / 3.461 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.439e-05/9.924, allocations: 53.7 kB / 3.461 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007954/9.925, allocations: 1.289 MB / 3.462 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/9.925, allocations: 371.3 kB / 3.462 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/9.925, allocations: 24 kB / 3.462 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/9.925, allocations: 357.9 kB / 3.463 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005775/9.926, allocations: 430.5 kB / 3.463 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006973/9.927, allocations: 0.6913 MB / 3.464 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006822/9.927, allocations: 0.5201 MB / 3.464 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/9.927, allocations: 4 kB / 3.464 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002151/9.93, allocations: 1.642 MB / 3.466 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/9.93, allocations: 8.781 kB / 3.466 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/9.93, allocations: 4 kB / 3.466 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/9.93, allocations: 226.5 kB / 3.466 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008632/9.931, allocations: 247.6 kB / 3.466 GB, free: 99.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003222/9.934, allocations: 4.187 MB / 3.47 GB, free: 95.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/9.936, allocations: 198.8 kB / 3.471 GB, free: 95.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/9.936, allocations: 55.98 kB / 3.471 GB, free: 95.23 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.0002155/9.936, allocations: 180.7 kB / 3.471 GB, free: 95.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/9.936, allocations: 296.5 kB / 3.471 GB, free: 94.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/9.939, allocations: 1.576 MB / 3.473 GB, free: 93.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/9.939, allocations: 15.94 kB / 3.473 GB, free: 93.15 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/9.939, allocations: 4 kB / 3.473 GB, free: 93.14 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001657/9.941, allocations: 1.338 MB / 3.474 GB, free: 91.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006449/9.947, allocations: 4.065 MB / 3.478 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/9.947, allocations: 0 / 3.478 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/9.948, allocations: 183.9 kB / 3.478 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/9.948, allocations: 203 kB / 3.478 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.114e-05/9.948, allocations: 31.98 kB / 3.478 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003174/9.952, allocations: 4.213 MB / 3.482 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/9.952, allocations: 0 / 3.482 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002999/9.955, allocations: 2.349 MB / 3.485 GB, free: 80.31 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/9.956, allocations: 0.63 MB / 3.485 GB, free: 79.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/9.956, allocations: 39.98 kB / 3.485 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009226/9.957, allocations: 111.8 kB / 3.485 GB, free: 79.51 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/9.957, allocations: 108.8 kB / 3.486 GB, free: 79.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.986e-05/9.957, allocations: 43.98 kB / 3.486 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003304/9.961, allocations: 2.808 MB / 3.488 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.62e-07/9.961, allocations: 0 / 3.488 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003253/9.964, allocations: 0.784 MB / 3.489 GB, free: 75.77 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.003231/9.967, allocations: 1.713 MB / 3.491 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002259/9.969, allocations: 1.412 MB / 3.492 GB, free: 72.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/9.969, allocations: 320 / 3.492 GB, free: 72.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/9.97, allocations: 0.8811 MB / 3.493 GB, free: 72.08 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/9.973, allocations: 0.5461 MB / 3.494 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00667/9.98, allocations: 5.016 MB / 3.498 GB, free: 66.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/9.981, allocations: 1.981 MB / 3.5 GB, free: 64.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001132/9.982, allocations: 433.1 kB / 3.501 GB, free: 64.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/9.983, allocations: 155.3 kB / 3.501 GB, free: 63.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/9.983, allocations: 4 kB / 3.501 GB, free: 63.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.07036/10.05, allocations: 47.37 MB / 3.547 GB, free: 16.86 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)