Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.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.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") [: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.004176/0.004176, allocations: 180.2 kB / 7.454 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.7193/0.7193, allocations: 130.6 MB / 138.5 MB, free: 2.18 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.921/1.921, allocations: 221.4 MB / 391.4 MB, free: 13.03 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.001188/0.001188, allocations: 101.8 kB / 473.4 MB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.444e-06, allocations: 0 / 0.5479 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2357, allocations: 81.58 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.824/5.06, allocations: 2.157 GB / 2.784 GB, free: 222.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/5.06, allocations: 83.95 kB / 2.784 GB, free: 222.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.846/6.907, allocations: 0.6395 GB / 3.424 GB, free: 73.21 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004065/6.907, allocations: 70.75 kB / 3.424 GB, free: 73.14 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.006885/6.914, allocations: 2.643 MB / 3.427 GB, free: 70.45 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/6.914, allocations: 8.031 kB / 3.427 GB, free: 70.44 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/6.917, allocations: 479.6 kB / 3.427 GB, free: 69.96 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00759/6.924, allocations: 2.7 MB / 3.43 GB, free: 67.29 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/6.925, allocations: 104.2 kB / 3.43 GB, free: 67.18 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000547/6.925, allocations: 76 kB / 3.43 GB, free: 67.11 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003169/6.928, allocations: 1.067 MB / 3.431 GB, free: 66.04 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/6.931, allocations: 1.245 MB / 3.432 GB, free: 64.75 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.815e-05/6.931, allocations: 4 kB / 3.432 GB, free: 64.75 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/6.932, allocations: 11.86 kB / 3.432 GB, free: 64.73 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.481e-05/6.932, allocations: 42.44 kB / 3.432 GB, free: 64.69 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/6.942, allocations: 6.328 MB / 3.438 GB, free: 58.03 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/6.944, allocations: 0.6458 MB / 3.439 GB, free: 57.38 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008616/6.944, allocations: 0.5893 MB / 3.44 GB, free: 56.8 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004522/6.945, allocations: 295.8 kB / 3.44 GB, free: 56.46 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008883/6.946, allocations: 0.5701 MB / 3.44 GB, free: 55.88 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=112): time 3.647e-06/6.946, allocations: 0 / 3.44 GB, free: 55.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=112): time 0.003451/6.949, allocations: 1.387 MB / 3.442 GB, free: 54.47 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/6.949, allocations: 64.41 kB / 3.442 GB, free: 54.39 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006869/6.956, allocations: 3.374 MB / 3.445 GB, free: 51.01 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003184/6.957, allocations: 33.7 kB / 3.445 GB, free: 50.97 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000704/6.957, allocations: 0.6535 MB / 3.446 GB, free: 50.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006244/6.958, allocations: 362.1 kB / 3.446 GB, free: 49.95 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/6.958, allocations: 4 kB / 3.446 GB, free: 49.95 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001126/6.958, allocations: 357.8 kB / 3.446 GB, free: 49.59 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007289/6.959, allocations: 422.5 kB / 3.447 GB, free: 49.18 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008129/6.96, allocations: 0.6732 MB / 3.448 GB, free: 48.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/6.961, allocations: 0.5434 MB / 3.448 GB, free: 47.86 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/6.961, allocations: 4 kB / 3.448 GB, free: 47.86 MB / 0.6667 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003163/6.964, allocations: 1.565 MB / 3.45 GB, free: 46.28 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/6.964, allocations: 11.97 kB / 3.45 GB, free: 46.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/6.964, allocations: 8 kB / 3.45 GB, free: 46.26 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/6.965, allocations: 217.4 kB / 3.45 GB, free: 46.04 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009663/6.966, allocations: 255.6 kB / 3.45 GB, free: 45.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/6.969, allocations: 3.972 MB / 3.454 GB, free: 41.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/6.971, allocations: 167.1 kB / 3.454 GB, free: 41.42 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/6.971, allocations: 52 kB / 3.454 GB, free: 41.37 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.0002996/6.972, allocations: 150.3 kB / 3.454 GB, free: 41.21 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006837/6.972, allocations: 272.5 kB / 3.455 GB, free: 40.95 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/6.975, allocations: 1.497 MB / 3.456 GB, free: 39.44 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/6.975, allocations: 16.03 kB / 3.456 GB, free: 39.42 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/6.975, allocations: 4 kB / 3.456 GB, free: 39.42 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001856/6.977, allocations: 1.281 MB / 3.457 GB, free: 38.09 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007837/6.985, allocations: 3.819 MB / 3.461 GB, free: 34.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/6.985, allocations: 4.156 kB / 3.461 GB, free: 34.22 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008433/6.986, allocations: 179.8 kB / 3.461 GB, free: 34.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/6.986, allocations: 220.6 kB / 3.461 GB, free: 33.83 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.593e-05/6.987, allocations: 15.98 kB / 3.461 GB, free: 33.81 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003376/6.99, allocations: 3.973 MB / 3.465 GB, free: 29.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/6.99, allocations: 3.984 kB / 3.465 GB, free: 29.61 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003763/6.994, allocations: 2.292 MB / 3.468 GB, free: 27.24 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/6.995, allocations: 0.6222 MB / 3.468 GB, free: 26.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000656/6.996, allocations: 19.98 kB / 3.468 GB, free: 26.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/6.997, allocations: 99.75 kB / 3.468 GB, free: 26.48 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/6.997, allocations: 84.86 kB / 3.468 GB, free: 26.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-05/6.997, allocations: 39.98 kB / 3.468 GB, free: 26.36 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.003967/7.001, allocations: 2.642 MB / 3.471 GB, free: 23.72 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002925/7.004, allocations: 0.7019 MB / 3.472 GB, free: 23.02 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 (100): * Single equations (assignments): 86 * 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.003026/7.007, allocations: 1.816 MB / 3.473 GB, free: 21.45 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002156/7.01, allocations: 1.309 MB / 3.475 GB, free: 20.12 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/7.01, allocations: 0 / 3.475 GB, free: 20.12 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/7.011, allocations: 0.806 MB / 3.475 GB, free: 19.31 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/7.014, allocations: 495.1 kB / 3.476 GB, free: 18.83 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008892/7.022, allocations: 4.983 MB / 3.481 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/7.025, allocations: 2.11 MB / 3.483 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of SimCode: time 8.62e-07/7.025, allocations: 0 / 3.483 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of Templates: time 0.3246/7.349, allocations: 34.4 MB / 3.516 GB, free: 182.6 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe 2>&1)