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") [: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.003349/0.00335, allocations: 182.5 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7098/0.7098, allocations: 130.6 MB / 138.5 MB, free: 2.152 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.899/1.899, allocations: 221.4 MB / 391.4 MB, free: 12.93 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.001176/0.001176, allocations: 93.3 kB / 473.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.839e-06/1.012e-05, allocations: 0 / 0.5479 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2301, allocations: 81.57 MB / 0.6276 GB, free: 18.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.766/4.996, allocations: 2.157 GB / 2.784 GB, free: 235.3 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/4.996, allocations: 87.88 kB / 2.784 GB, free: 235.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.793/6.789, allocations: 0.6394 GB / 3.424 GB, free: 86.85 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003164/6.79, allocations: 63.05 kB / 3.424 GB, free: 86.79 MB / 0.6667 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.005625/6.795, allocations: 2.653 MB / 3.426 GB, free: 84.09 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/6.795, allocations: 15.97 kB / 3.427 GB, free: 84.07 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/6.798, allocations: 467.7 kB / 3.427 GB, free: 83.61 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006624/6.804, allocations: 2.689 MB / 3.43 GB, free: 80.95 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/6.805, allocations: 96.16 kB / 3.43 GB, free: 80.85 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000421/6.805, allocations: 87.98 kB / 3.43 GB, free: 80.77 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002241/6.807, allocations: 1.055 MB / 3.431 GB, free: 79.71 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/6.809, allocations: 1.245 MB / 3.432 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/6.809, allocations: 3.906 kB / 3.432 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/6.809, allocations: 7.984 kB / 3.432 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.805e-05/6.809, allocations: 46.44 kB / 3.432 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00824/6.818, allocations: 6.33 MB / 3.438 GB, free: 71.69 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/6.819, allocations: 0.645 MB / 3.439 GB, free: 71.04 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000826/6.82, allocations: 0.5955 MB / 3.439 GB, free: 70.45 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005006/6.82, allocations: 306.5 kB / 3.44 GB, free: 70.1 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008585/6.821, allocations: 0.5616 MB / 3.44 GB, free: 69.53 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=113): time 4.438e-06/6.821, allocations: 4 kB / 3.44 GB, free: 69.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=113): time 0.00305/6.824, allocations: 1.403 MB / 3.442 GB, free: 68.11 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/6.824, allocations: 68.39 kB / 3.442 GB, free: 68.02 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004928/6.829, allocations: 3.366 MB / 3.445 GB, free: 64.64 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/6.829, allocations: 33.7 kB / 3.445 GB, free: 64.61 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/6.83, allocations: 0.6497 MB / 3.446 GB, free: 63.95 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003374/6.83, allocations: 364.8 kB / 3.446 GB, free: 63.59 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/6.83, allocations: 0 / 3.446 GB, free: 63.59 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.918e-05/6.83, allocations: 353.9 kB / 3.446 GB, free: 63.23 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/6.831, allocations: 422.5 kB / 3.447 GB, free: 62.82 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006817/6.831, allocations: 0.678 MB / 3.447 GB, free: 62.04 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009504/6.832, allocations: 0.5455 MB / 3.448 GB, free: 61.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/6.832, allocations: 0 / 3.448 GB, free: 61.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00241/6.835, allocations: 1.579 MB / 3.45 GB, free: 59.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/6.835, allocations: 10.03 kB / 3.45 GB, free: 59.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/6.835, allocations: 7.906 kB / 3.45 GB, free: 59.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005523/6.835, allocations: 214.1 kB / 3.45 GB, free: 59.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009197/6.836, allocations: 251.6 kB / 3.45 GB, free: 59.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/6.84, allocations: 3.974 MB / 3.454 GB, free: 55.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/6.841, allocations: 179 kB / 3.454 GB, free: 55.06 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/6.841, allocations: 48 kB / 3.454 GB, free: 55.01 MB / 0.6667 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.0002511/6.842, allocations: 157.9 kB / 3.454 GB, free: 54.85 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/6.842, allocations: 268.5 kB / 3.454 GB, free: 54.59 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/6.845, allocations: 1.511 MB / 3.456 GB, free: 53.05 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/6.845, allocations: 12 kB / 3.456 GB, free: 53.04 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/6.845, allocations: 4 kB / 3.456 GB, free: 53.04 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001751/6.846, allocations: 1.29 MB / 3.457 GB, free: 51.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006167/6.853, allocations: 3.826 MB / 3.461 GB, free: 47.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/6.853, allocations: 0 / 3.461 GB, free: 47.83 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008406/6.854, allocations: 187.9 kB / 3.461 GB, free: 47.65 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004899/6.854, allocations: 205.6 kB / 3.461 GB, free: 47.44 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/6.854, allocations: 23.89 kB / 3.461 GB, free: 47.42 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003219/6.857, allocations: 3.973 MB / 3.465 GB, free: 43.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/6.857, allocations: 7.875 kB / 3.465 GB, free: 43.22 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003408/6.861, allocations: 2.304 MB / 3.467 GB, free: 40.84 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/6.862, allocations: 0.6262 MB / 3.468 GB, free: 40.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003499/6.862, allocations: 11.98 kB / 3.468 GB, free: 40.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009882/6.863, allocations: 95.75 kB / 3.468 GB, free: 40.09 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/6.864, allocations: 92.8 kB / 3.468 GB, free: 40 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.392e-05/6.864, allocations: 43.92 kB / 3.468 GB, free: 39.95 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.002957/6.867, allocations: 2.642 MB / 3.471 GB, free: 37.31 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002181/6.869, allocations: 0.7057 MB / 3.472 GB, free: 36.61 MB / 0.6667 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.002425/6.871, allocations: 1.812 MB / 3.473 GB, free: 35.04 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002039/6.873, allocations: 1.318 MB / 3.475 GB, free: 33.71 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/6.873, allocations: 0 / 3.475 GB, free: 33.71 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/6.874, allocations: 0.8119 MB / 3.475 GB, free: 32.88 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/6.877, allocations: 0.4908 MB / 3.476 GB, free: 32.41 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008883/6.886, allocations: 4.98 MB / 3.481 GB, free: 27.36 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/6.888, allocations: 2.106 MB / 3.483 GB, free: 25.23 MB / 0.6667 GB Notification: Performance of SimCode: time 6.41e-07/6.888, allocations: 0 / 3.483 GB, free: 25.23 MB / 0.6667 GB Notification: Performance of Templates: time 0.05301/6.941, allocations: 34.42 MB / 3.516 GB, free: 7.074 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)