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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009346/0.0009347, allocations: 178.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4864/0.4864, allocations: 90.81 MB / 104.5 MB, free: 9.801 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.24/1.24, allocations: 221.3 MB / 348.3 MB, free: 468 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009094/0.0009093, allocations: 97.36 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.338e-05, allocations: 0 / 0.4896 GB, free: 5.379 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4008, allocations: 72.31 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.346/5.746, allocations: 2.148 GB / 2.709 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/5.747, allocations: 87.95 kB / 2.709 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.395/8.141, allocations: 0.6448 GB / 3.353 GB, free: 91.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.215e-06/8.142, allocations: 1.312 kB / 3.353 GB, free: 91.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003483/8.142, allocations: 62.62 kB / 3.354 GB, free: 91.58 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.007689/8.15, allocations: 2.637 MB / 3.356 GB, free: 90.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/8.15, allocations: 15.83 kB / 3.356 GB, free: 90.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/8.152, allocations: 466.9 kB / 3.357 GB, free: 90.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005961/8.158, allocations: 2.695 MB / 3.359 GB, free: 89.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/8.158, allocations: 140 kB / 3.359 GB, free: 89.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/8.158, allocations: 132.4 kB / 3.359 GB, free: 89.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/8.16, allocations: 1.398 MB / 3.361 GB, free: 89.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/8.16, allocations: 0 / 3.361 GB, free: 89.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/8.161, allocations: 55.02 kB / 3.361 GB, free: 89.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/8.161, allocations: 45.88 kB / 3.361 GB, free: 89.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/8.162, allocations: 1.112 MB / 3.362 GB, free: 89.44 MB / 0.6042 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.008468/8.171, allocations: 6.682 MB / 3.369 GB, free: 86.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/8.172, allocations: 1.088 MB / 3.37 GB, free: 86.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007576/8.173, allocations: 0.6068 MB / 3.37 GB, free: 86.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003934/8.174, allocations: 289.4 kB / 3.37 GB, free: 86.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008362/8.174, allocations: 0.6175 MB / 3.371 GB, free: 86.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=113): time 3.086e-06/8.174, allocations: 0 / 3.371 GB, free: 86.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=113): time 0.002535/8.177, allocations: 1.441 MB / 3.372 GB, free: 86.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/8.177, allocations: 68.22 kB / 3.373 GB, free: 86.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004795/8.182, allocations: 3.549 MB / 3.376 GB, free: 85.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/8.182, allocations: 51.52 kB / 3.376 GB, free: 85.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008378/8.183, allocations: 1.277 MB / 3.377 GB, free: 85.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/8.183, allocations: 379.4 kB / 3.378 GB, free: 85.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/8.183, allocations: 22.53 kB / 3.378 GB, free: 85.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.312e-05/8.183, allocations: 355.9 kB / 3.378 GB, free: 84.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005963/8.184, allocations: 431.2 kB / 3.378 GB, free: 84.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006953/8.185, allocations: 0.69 MB / 3.379 GB, free: 84.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/8.185, allocations: 0.5263 MB / 3.38 GB, free: 84.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/8.185, allocations: 3.953 kB / 3.38 GB, free: 84.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002424/8.188, allocations: 1.642 MB / 3.381 GB, free: 84.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/8.188, allocations: 7.625 kB / 3.381 GB, free: 84.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/8.188, allocations: 6.781 kB / 3.381 GB, free: 84.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005107/8.188, allocations: 216.5 kB / 3.381 GB, free: 84.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008267/8.189, allocations: 252.7 kB / 3.382 GB, free: 84.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/8.192, allocations: 4.176 MB / 3.386 GB, free: 81.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/8.194, allocations: 217.9 kB / 3.386 GB, free: 81.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.161e-05/8.194, allocations: 51.25 kB / 3.386 GB, free: 81.14 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.0002275/8.194, allocations: 192.4 kB / 3.386 GB, free: 80.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/8.194, allocations: 291.8 kB / 3.386 GB, free: 80.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/8.197, allocations: 1.585 MB / 3.388 GB, free: 80.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/8.197, allocations: 14.19 kB / 3.388 GB, free: 80.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/8.197, allocations: 0 / 3.388 GB, free: 80.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001671/8.199, allocations: 1.345 MB / 3.389 GB, free: 79.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006676/8.205, allocations: 4.061 MB / 3.393 GB, free: 78.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/8.205, allocations: 7.109 kB / 3.393 GB, free: 78.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007487/8.206, allocations: 172.1 kB / 3.393 GB, free: 78.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/8.207, allocations: 208.1 kB / 3.394 GB, free: 77.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.573e-05/8.207, allocations: 30.7 kB / 3.394 GB, free: 77.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/8.21, allocations: 4.205 MB / 3.398 GB, free: 74.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/8.21, allocations: 1.875 kB / 3.398 GB, free: 74.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00324/8.213, allocations: 2.316 MB / 3.4 GB, free: 73.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/8.215, allocations: 0.6412 MB / 3.401 GB, free: 73.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005136/8.215, allocations: 33.06 kB / 3.401 GB, free: 73.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/8.217, allocations: 114.2 kB / 3.401 GB, free: 73.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/8.217, allocations: 110 kB / 3.401 GB, free: 73.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/8.217, allocations: 40.72 kB / 3.401 GB, free: 73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.004099/8.221, allocations: 2.811 MB / 3.404 GB, free: 72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/8.221, allocations: 0 / 3.404 GB, free: 72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002689/8.224, allocations: 0.7886 MB / 3.404 GB, free: 71.53 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.002789/8.226, allocations: 1.706 MB / 3.406 GB, free: 70.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002237/8.229, allocations: 1.405 MB / 3.408 GB, free: 69.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/8.229, allocations: 4 kB / 3.408 GB, free: 69.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/8.23, allocations: 0.8777 MB / 3.408 GB, free: 68.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/8.233, allocations: 0.5506 MB / 3.409 GB, free: 68.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008239/8.241, allocations: 5.024 MB / 3.414 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001867/8.243, allocations: 1.982 MB / 3.416 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001483/8.244, allocations: 440.9 kB / 3.416 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006363/8.245, allocations: 156.3 kB / 3.416 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of SimCode: time 9.62e-07/8.245, allocations: 8 kB / 3.416 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.06195/8.307, allocations: 47.36 MB / 3.463 GB, free: 20.71 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)