Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001551/0.001551, allocations: 191.8 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4512/0.4512, allocations: 90.85 MB / 99.07 MB, free: 14.92 MB / 90.72 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.4 MB / 342.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009466/0.0009467, allocations: 101.9 kB / 415.5 MB, free: 9.832 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.412e-06, allocations: 0 / 493.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4122, allocations: 72.3 MB / 0.5529 GB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.788/5.2, allocations: 2.148 GB / 2.7 GB, free: 141 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/5.2, allocations: 83.95 kB / 2.701 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.061/7.261, allocations: 0.6444 GB / 3.345 GB, free: 103 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001987/7.262, allocations: 58.72 kB / 3.345 GB, free: 103 MB / 0.6042 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.004165/7.266, allocations: 2.66 MB / 3.348 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/7.266, allocations: 11.69 kB / 3.348 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/7.267, allocations: 464.5 kB / 3.348 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005521/7.273, allocations: 2.699 MB / 3.351 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/7.273, allocations: 97.38 kB / 3.351 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/7.273, allocations: 82.34 kB / 3.351 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001748/7.275, allocations: 1.069 MB / 3.352 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/7.277, allocations: 1.246 MB / 3.353 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/7.277, allocations: 3.906 kB / 3.353 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/7.277, allocations: 3.781 kB / 3.353 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/7.277, allocations: 42.12 kB / 3.353 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007499/7.285, allocations: 6.566 MB / 3.36 GB, free: 98.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009555/7.286, allocations: 0.6441 MB / 3.36 GB, free: 98.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007583/7.286, allocations: 0.592 MB / 3.361 GB, free: 98.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/7.287, allocations: 299.6 kB / 3.361 GB, free: 98.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007662/7.288, allocations: 0.5774 MB / 3.362 GB, free: 97.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=113): time 3.447e-06/7.288, allocations: 0 / 3.362 GB, free: 97.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=113): time 0.00275/7.29, allocations: 1.398 MB / 3.363 GB, free: 97.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/7.29, allocations: 63.47 kB / 3.363 GB, free: 97.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00459/7.295, allocations: 3.379 MB / 3.366 GB, free: 97.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.762e-05/7.295, allocations: 28.27 kB / 3.366 GB, free: 97.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/7.295, allocations: 0.6553 MB / 3.367 GB, free: 97.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/7.296, allocations: 364.8 kB / 3.367 GB, free: 96.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/7.296, allocations: 0 / 3.367 GB, free: 96.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.855e-05/7.296, allocations: 353.2 kB / 3.368 GB, free: 96.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/7.296, allocations: 424.2 kB / 3.368 GB, free: 96.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/7.297, allocations: 0.6739 MB / 3.369 GB, free: 96.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009149/7.298, allocations: 0.5471 MB / 3.369 GB, free: 96.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/7.298, allocations: 0 / 3.369 GB, free: 96.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00235/7.3, allocations: 1.581 MB / 3.371 GB, free: 96.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/7.3, allocations: 7.5 kB / 3.371 GB, free: 96.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/7.3, allocations: 10.56 kB / 3.371 GB, free: 96.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005304/7.301, allocations: 214.7 kB / 3.371 GB, free: 96.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009211/7.302, allocations: 248 kB / 3.371 GB, free: 96.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/7.305, allocations: 3.982 MB / 3.375 GB, free: 93.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/7.306, allocations: 188 kB / 3.375 GB, free: 93.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/7.307, allocations: 52.34 kB / 3.375 GB, free: 93.4 MB / 0.6042 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.0002082/7.307, allocations: 146.8 kB / 3.376 GB, free: 93.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003385/7.307, allocations: 279.6 kB / 3.376 GB, free: 93.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/7.31, allocations: 1.505 MB / 3.377 GB, free: 93.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/7.31, allocations: 17.44 kB / 3.377 GB, free: 93.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/7.31, allocations: 3.906 kB / 3.377 GB, free: 93.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001763/7.311, allocations: 1.295 MB / 3.379 GB, free: 92.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005587/7.317, allocations: 3.834 MB / 3.382 GB, free: 92.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/7.317, allocations: 0 / 3.382 GB, free: 92.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008165/7.318, allocations: 180.5 kB / 3.383 GB, free: 92.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/7.318, allocations: 207.3 kB / 3.383 GB, free: 92.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-05/7.318, allocations: 20.91 kB / 3.383 GB, free: 92.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00314/7.322, allocations: 3.969 MB / 3.387 GB, free: 89.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/7.322, allocations: 3.281 kB / 3.387 GB, free: 89.72 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003806/7.325, allocations: 2.26 MB / 3.389 GB, free: 89.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/7.327, allocations: 0.6352 MB / 3.389 GB, free: 88.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005851/7.327, allocations: 14.19 kB / 3.389 GB, free: 88.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/7.329, allocations: 91.31 kB / 3.39 GB, free: 88.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/7.329, allocations: 88.14 kB / 3.39 GB, free: 88.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.316e-05/7.329, allocations: 42.47 kB / 3.39 GB, free: 88.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.003851/7.333, allocations: 2.638 MB / 3.392 GB, free: 88.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002432/7.335, allocations: 0.7124 MB / 3.393 GB, free: 88.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.medium.Xi[1],thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,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.002601/7.338, allocations: 1.801 MB / 3.395 GB, free: 88.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002077/7.34, allocations: 1.318 MB / 3.396 GB, free: 88.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/7.34, allocations: 0 / 3.396 GB, free: 88.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/7.341, allocations: 0.8138 MB / 3.397 GB, free: 87.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/7.344, allocations: 0.4958 MB / 3.397 GB, free: 87.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008924/7.353, allocations: 4.981 MB / 3.402 GB, free: 86.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002518/7.355, allocations: 2.107 MB / 3.404 GB, free: 86.21 MB / 0.6042 GB Notification: Performance of SimCode: time 1.583e-06/7.355, allocations: 0 / 3.404 GB, free: 86.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.05422/7.41, allocations: 34.46 MB / 3.438 GB, free: 77.76 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)