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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002351/0.002351, allocations: 175.7 kB / 7.46 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.604/0.604, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.196/1.196, allocations: 221.3 MB / 395 MB, free: 10.16 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.0009136/0.0009136, allocations: 106.2 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.031e-06/6.071e-06, allocations: 0 / 0.5528 GB, free: 89.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1359, allocations: 82.3 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.409/3.545, allocations: 2.157 GB / 2.79 GB, free: 64.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/3.545, allocations: 87.95 kB / 2.79 GB, free: 64.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.659/5.204, allocations: 0.6394 GB / 3.43 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001885/5.204, allocations: 58.48 kB / 3.43 GB, free: 118.6 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.003618/5.208, allocations: 2.653 MB / 3.432 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/5.208, allocations: 13 kB / 3.432 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/5.21, allocations: 466.6 kB / 3.433 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004763/5.214, allocations: 2.694 MB / 3.435 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/5.215, allocations: 101.9 kB / 3.436 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/5.215, allocations: 76.59 kB / 3.436 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001537/5.216, allocations: 1.064 MB / 3.437 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/5.218, allocations: 1.24 MB / 3.438 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/5.218, allocations: 7.875 kB / 3.438 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/5.218, allocations: 5.672 kB / 3.438 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/5.218, allocations: 49.75 kB / 3.438 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006099/5.224, allocations: 6.331 MB / 3.444 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008889/5.225, allocations: 0.6413 MB / 3.445 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007181/5.226, allocations: 0.598 MB / 3.445 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003338/5.226, allocations: 300.9 kB / 3.446 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006956/5.227, allocations: 0.5659 MB / 3.446 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=113): time 2.615e-06/5.227, allocations: 0 / 3.446 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=113): time 0.002352/5.229, allocations: 1.402 MB / 3.448 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/5.229, allocations: 64.03 kB / 3.448 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003973/5.233, allocations: 3.37 MB / 3.451 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/5.233, allocations: 36.58 kB / 3.451 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/5.234, allocations: 0.6452 MB / 3.452 GB, free: 113 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/5.234, allocations: 366.8 kB / 3.452 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/5.234, allocations: 3.031 kB / 3.452 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/5.234, allocations: 353.4 kB / 3.452 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/5.235, allocations: 424.2 kB / 3.453 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/5.235, allocations: 0.6776 MB / 3.453 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008101/5.236, allocations: 0.5517 MB / 3.454 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/5.236, allocations: 5.375 kB / 3.454 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00219/5.238, allocations: 1.575 MB / 3.455 GB, free: 112 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/5.238, allocations: 4.656 kB / 3.455 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/5.238, allocations: 11.66 kB / 3.455 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004914/5.239, allocations: 211.3 kB / 3.456 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008501/5.24, allocations: 253.9 kB / 3.456 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/5.243, allocations: 3.972 MB / 3.46 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/5.244, allocations: 170.2 kB / 3.46 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-05/5.244, allocations: 51.31 kB / 3.46 GB, free: 109.3 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.0001817/5.244, allocations: 149.1 kB / 3.46 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/5.244, allocations: 274.8 kB / 3.46 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/5.247, allocations: 1.505 MB / 3.462 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/5.247, allocations: 15.28 kB / 3.462 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/5.247, allocations: 0 / 3.462 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001689/5.248, allocations: 1.303 MB / 3.463 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005166/5.254, allocations: 3.83 MB / 3.467 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/5.254, allocations: 3.625 kB / 3.467 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007653/5.254, allocations: 177.6 kB / 3.467 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/5.255, allocations: 211.1 kB / 3.467 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.01e-05/5.255, allocations: 20.59 kB / 3.467 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002864/5.258, allocations: 3.971 MB / 3.471 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/5.258, allocations: 2.25 kB / 3.471 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002674/5.26, allocations: 2.317 MB / 3.473 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009085/5.261, allocations: 0.6213 MB / 3.474 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003277/5.262, allocations: 15.66 kB / 3.474 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009116/5.263, allocations: 99.73 kB / 3.474 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/5.263, allocations: 83.72 kB / 3.474 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.169e-05/5.263, allocations: 44.02 kB / 3.474 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002355/5.265, allocations: 2.64 MB / 3.477 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001707/5.267, allocations: 0.7101 MB / 3.477 GB, free: 104.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.001796/5.269, allocations: 1.79 MB / 3.479 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001535/5.27, allocations: 1.322 MB / 3.481 GB, free: 104 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/5.27, allocations: 3.938 kB / 3.481 GB, free: 104 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008744/5.271, allocations: 0.8115 MB / 3.481 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/5.273, allocations: 0.4996 MB / 3.482 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005945/5.279, allocations: 4.979 MB / 3.487 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/5.281, allocations: 2.103 MB / 3.489 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/5.281, allocations: 3.391 kB / 3.489 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.04805/5.329, allocations: 34.41 MB / 3.522 GB, free: 100.5 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)