Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.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.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8511/0.8511, allocations: 143.4 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 178 kB / 191.5 MB, free: 5.77 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.586/1.586, allocations: 223.2 MB / 447.7 MB, free: 4.824 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.001004/0.001004, allocations: 92.31 kB / 0.5188 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001778/0.001778, allocations: 272.6 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004615, allocations: 14.91 kB / 0.6929 GB, free: 59.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2015, allocations: 82.79 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.45/6.651, allocations: 2.155 GB / 2.929 GB, free: 213.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/6.651, allocations: 95.64 kB / 2.929 GB, free: 213.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.329/8.981, allocations: 0.6398 GB / 3.569 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.412e-06/8.981, allocations: 3.5 kB / 3.569 GB, free: 127.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002353/8.981, allocations: 55.91 kB / 3.569 GB, free: 127.4 MB / 0.7136 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.00606/8.987, allocations: 3.15 MB / 3.572 GB, free: 124.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/8.987, allocations: 8.031 kB / 3.572 GB, free: 124.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/8.989, allocations: 463.7 kB / 3.572 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006374/8.996, allocations: 2.714 MB / 3.575 GB, free: 121.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/8.996, allocations: 148.3 kB / 3.575 GB, free: 121 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/8.996, allocations: 128 kB / 3.575 GB, free: 120.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/8.998, allocations: 1.453 MB / 3.577 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/8.998, allocations: 4 kB / 3.577 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/8.998, allocations: 51.98 kB / 3.577 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-05/8.999, allocations: 46.44 kB / 3.577 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/9.001, allocations: 1.2 MB / 3.578 GB, free: 118 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.011/9.012, allocations: 6.665 MB / 3.585 GB, free: 111 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/9.014, allocations: 1.181 MB / 3.586 GB, free: 109.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003994/9.014, allocations: 292.2 kB / 3.586 GB, free: 109.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009776/9.015, allocations: 0.6492 MB / 3.587 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=112): time 3.526e-06/9.015, allocations: 0 / 3.587 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=112): time 0.004847/9.02, allocations: 2.35 MB / 3.589 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/9.02, allocations: 68.39 kB / 3.589 GB, free: 106.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005654/9.026, allocations: 3.591 MB / 3.592 GB, free: 102.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003174/9.026, allocations: 49.7 kB / 3.593 GB, free: 102.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009111/9.027, allocations: 1.294 MB / 3.594 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004006/9.027, allocations: 370.2 kB / 3.594 GB, free: 101 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/9.027, allocations: 24 kB / 3.594 GB, free: 101 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.113e-05/9.027, allocations: 357.9 kB / 3.594 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008783/9.028, allocations: 0.4905 MB / 3.595 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009137/9.029, allocations: 0.7615 MB / 3.596 GB, free: 99.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009332/9.03, allocations: 0.5894 MB / 3.596 GB, free: 98.69 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/9.03, allocations: 4 kB / 3.596 GB, free: 98.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003039/9.033, allocations: 1.774 MB / 3.598 GB, free: 96.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/9.033, allocations: 8 kB / 3.598 GB, free: 96.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/9.033, allocations: 7.953 kB / 3.598 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/9.034, allocations: 231.1 kB / 3.598 GB, free: 96.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008714/9.035, allocations: 247.6 kB / 3.598 GB, free: 96.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/9.038, allocations: 4.291 MB / 3.603 GB, free: 91.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/9.04, allocations: 202.9 kB / 3.603 GB, free: 91.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/9.04, allocations: 48 kB / 3.603 GB, free: 91.61 MB / 0.7136 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 () * Number of clocked 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.001587/9.042, allocations: 0.8136 MB / 3.604 GB, free: 90.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006456/9.042, allocations: 292.4 kB / 3.604 GB, free: 90.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/9.045, allocations: 1.659 MB / 3.606 GB, free: 88.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/9.045, allocations: 15.95 kB / 3.606 GB, free: 88.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/9.045, allocations: 4 kB / 3.606 GB, free: 88.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00191/9.047, allocations: 1.424 MB / 3.607 GB, free: 87.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007327/9.055, allocations: 4.135 MB / 3.611 GB, free: 83.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/9.055, allocations: 3.984 kB / 3.611 GB, free: 83.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007726/9.055, allocations: 183.7 kB / 3.611 GB, free: 82.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004763/9.056, allocations: 209.7 kB / 3.611 GB, free: 82.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/9.056, allocations: 31.98 kB / 3.611 GB, free: 82.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003333/9.059, allocations: 4.263 MB / 3.616 GB, free: 78.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/9.059, allocations: 4.031 kB / 3.616 GB, free: 78.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003861/9.063, allocations: 2.481 MB / 3.618 GB, free: 75.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/9.065, allocations: 0.6339 MB / 3.619 GB, free: 74.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/9.065, allocations: 40 kB / 3.619 GB, free: 74.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000955/9.066, allocations: 115.8 kB / 3.619 GB, free: 74.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/9.066, allocations: 112.8 kB / 3.619 GB, free: 74.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.458e-05/9.066, allocations: 39.98 kB / 3.619 GB, free: 74.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003517/9.07, allocations: 2.846 MB / 3.622 GB, free: 71.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.41e-07/9.07, allocations: 0 / 3.622 GB, free: 71.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002775/9.073, allocations: 0.7917 MB / 3.623 GB, free: 71.01 MB / 0.7136 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) * Number of clocked states: 0 () * 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.002973/9.076, allocations: 1.758 MB / 3.624 GB, free: 69.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002708/9.078, allocations: 1.518 MB / 3.626 GB, free: 67.97 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/9.079, allocations: 0 / 3.626 GB, free: 67.97 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/9.08, allocations: 0.924 MB / 3.627 GB, free: 67.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/9.083, allocations: 0.5537 MB / 3.627 GB, free: 66.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009444/9.092, allocations: 6.804 MB / 3.634 GB, free: 59.63 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/9.094, allocations: 1.977 MB / 3.636 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001621/9.095, allocations: 434.5 kB / 3.636 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/9.096, allocations: 159.4 kB / 3.636 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of SimCode: time 1.403e-06/9.096, allocations: 0 / 3.636 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.06249/9.158, allocations: 43.92 MB / 3.679 GB, free: 13.33 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe 2>&1)