Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7707/0.7707, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009982/0.0009981, allocations: 180.9 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 221.3 MB / 441.4 MB, free: 4.566 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009318/0.0009323, allocations: 98.62 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001825/0.001825, allocations: 277.8 kB / 0.5939 GB, free: 7.922 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.092e-05, allocations: 4 kB / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4499, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.029/6.479, allocations: 2.155 GB / 2.919 GB, free: 114.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/6.479, allocations: 90.08 kB / 2.919 GB, free: 114 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.258/8.737, allocations: 0.6392 GB / 3.559 GB, free: 9.547 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/8.737, allocations: 3.938 kB / 3.559 GB, free: 9.543 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002093/8.738, allocations: 56 kB / 3.559 GB, free: 9.488 MB / 0.698 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.005342/8.743, allocations: 2.643 MB / 3.561 GB, free: 6.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/8.743, allocations: 8.031 kB / 3.561 GB, free: 6.762 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/8.745, allocations: 463.7 kB / 3.562 GB, free: 6.305 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0056/8.75, allocations: 2.66 MB / 3.564 GB, free: 3.582 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/8.75, allocations: 148.3 kB / 3.564 GB, free: 3.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/8.751, allocations: 135.9 kB / 3.565 GB, free: 3.297 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/8.753, allocations: 1.394 MB / 3.566 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/8.753, allocations: 0 / 3.566 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/8.753, allocations: 51.98 kB / 3.566 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/8.753, allocations: 42.44 kB / 3.566 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/8.755, allocations: 1.118 MB / 3.567 GB, free: 0.6367 MB / 0.698 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.5194/9.274, allocations: 6.654 MB / 3.574 GB, free: 123.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/9.277, allocations: 1.105 MB / 3.575 GB, free: 123.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/9.278, allocations: 0.6061 MB / 3.575 GB, free: 123.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005144/9.278, allocations: 297.2 kB / 3.576 GB, free: 123.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/9.28, allocations: 0.6175 MB / 3.576 GB, free: 123.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=113): time 6.072e-06/9.28, allocations: 0 / 3.576 GB, free: 123.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=113): time 0.00374/9.284, allocations: 1.436 MB / 3.578 GB, free: 123.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/9.284, allocations: 67.53 kB / 3.578 GB, free: 123.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006089/9.29, allocations: 3.54 MB / 3.581 GB, free: 122.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001966/9.29, allocations: 55.14 kB / 3.581 GB, free: 122.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/9.291, allocations: 1.276 MB / 3.582 GB, free: 122.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/9.291, allocations: 377.4 kB / 3.583 GB, free: 122.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/9.292, allocations: 18.84 kB / 3.583 GB, free: 122.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001048/9.292, allocations: 357.3 kB / 3.583 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006527/9.292, allocations: 426 kB / 3.584 GB, free: 122.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007825/9.293, allocations: 0.6948 MB / 3.584 GB, free: 121.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007657/9.294, allocations: 0.5281 MB / 3.585 GB, free: 121.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/9.294, allocations: 3.969 kB / 3.585 GB, free: 121.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002533/9.296, allocations: 1.636 MB / 3.586 GB, free: 121.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/9.296, allocations: 7.375 kB / 3.586 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/9.297, allocations: 3.625 kB / 3.586 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/9.297, allocations: 226.2 kB / 3.587 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/9.298, allocations: 244.9 kB / 3.587 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003588/9.302, allocations: 4.189 MB / 3.591 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/9.303, allocations: 199.1 kB / 3.591 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/9.303, allocations: 51.62 kB / 3.591 GB, free: 118.9 MB / 0.698 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.0002876/9.304, allocations: 188.6 kB / 3.591 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004114/9.304, allocations: 296.1 kB / 3.592 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/9.307, allocations: 1.573 MB / 3.593 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/9.307, allocations: 10.5 kB / 3.593 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/9.307, allocations: 3.656 kB / 3.593 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001759/9.309, allocations: 1.345 MB / 3.594 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008794/9.318, allocations: 4.061 MB / 3.598 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/9.318, allocations: 0 / 3.598 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/9.319, allocations: 176.2 kB / 3.599 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008651/9.32, allocations: 213.5 kB / 3.599 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/9.32, allocations: 32.95 kB / 3.599 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005406/9.326, allocations: 4.191 MB / 3.603 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/9.326, allocations: 3.562 kB / 3.603 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005849/9.331, allocations: 2.355 MB / 3.605 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002401/9.334, allocations: 0.6356 MB / 3.606 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004681/9.334, allocations: 37.52 kB / 3.606 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/9.336, allocations: 115 kB / 3.606 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003364/9.336, allocations: 105 kB / 3.606 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/9.337, allocations: 44.64 kB / 3.606 GB, free: 114.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005935/9.342, allocations: 2.805 MB / 3.609 GB, free: 114.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/9.343, allocations: 3.812 kB / 3.609 GB, free: 114.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004188/9.347, allocations: 0.7871 MB / 3.61 GB, free: 114.1 MB / 0.698 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.004713/9.351, allocations: 1.719 MB / 3.611 GB, free: 113.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003766/9.355, allocations: 1.412 MB / 3.613 GB, free: 113.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/9.355, allocations: 0 / 3.613 GB, free: 113.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/9.357, allocations: 0.8757 MB / 3.614 GB, free: 113.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005063/9.362, allocations: 0.5376 MB / 3.614 GB, free: 113.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/9.377, allocations: 5.019 MB / 3.619 GB, free: 112.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002569/9.379, allocations: 1.976 MB / 3.621 GB, free: 111.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003192/9.382, allocations: 426.7 kB / 3.621 GB, free: 111.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009892/9.384, allocations: 164 kB / 3.621 GB, free: 111.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.583e-06/9.384, allocations: 1.969 kB / 3.621 GB, free: 111.5 MB / 0.698 GB Notification: Performance of Templates: time 0.105/9.489, allocations: 47.38 MB / 3.668 GB, free: 109.9 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)