Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 192.8 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 283.1 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9189/0.9189, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 93.92 kB / 0.5945 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1535, allocations: 86.98 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4599/0.6135, allocations: 154.4 MB / 0.8303 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02185/0.6353, allocations: 21.65 MB / 0.8514 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.6373, allocations: 46.5 kB / 0.8515 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.6387, allocations: 1.133 MB / 0.8526 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.6398, allocations: 0.8125 MB / 0.8534 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009355/0.6408, allocations: 375.4 kB / 0.8537 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001124/0.6419, allocations: 1.356 MB / 0.855 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006537/0.6426, allocations: 0.6156 MB / 0.8556 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000509/0.6431, allocations: 499.8 kB / 0.8561 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008128/0.6439, allocations: 0.9128 MB / 0.857 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.18e-05/0.644, allocations: 35.28 kB / 0.857 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.6442, allocations: 82.86 kB / 0.8571 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.6445, allocations: 301.6 kB / 0.8574 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003584/0.6448, allocations: 470 kB / 0.8578 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000883/0.6457, allocations: 1.157 MB / 0.859 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6457, allocations: 3.938 kB / 0.859 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.62e-07/0.6457, allocations: 0 / 0.859 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.6458, allocations: 2.25 kB / 0.859 GB, free: 7.254 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002046/0.6478, allocations: 1.47 MB / 0.8604 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.6478, allocations: 9.812 kB / 0.8604 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.648, allocations: 129.8 kB / 0.8606 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007283/0.6487, allocations: 0.6698 MB / 0.8612 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.6489, allocations: 71.88 kB / 0.8613 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.14e-05/0.6489, allocations: 46 kB / 0.8613 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008954/0.6498, allocations: 0.5224 MB / 0.8618 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.6499, allocations: 2.75 kB / 0.8618 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.6499, allocations: 14.34 kB / 0.8618 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.6499, allocations: 10.09 kB / 0.8619 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007881/0.6507, allocations: 418.8 kB / 0.8623 GB, free: 4.863 MB / 0.5762 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.003226/0.654, allocations: 2.796 MB / 0.865 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009374/0.6549, allocations: 457.7 kB / 0.8654 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.6554, allocations: 288.6 kB / 0.8657 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.6555, allocations: 7.203 kB / 0.8657 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005254/0.656, allocations: 299.6 kB / 0.866 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.484e-06/0.656, allocations: 0 / 0.866 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.002813/0.6589, allocations: 1.245 MB / 0.8672 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.6589, allocations: 64.34 kB / 0.8673 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.6605, allocations: 1.741 MB / 0.869 GB, free: 276 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.6605, allocations: 36.83 kB / 0.869 GB, free: 236 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.6609, allocations: 0.5248 MB / 0.8695 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.6611, allocations: 146.3 kB / 0.8697 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.6612, allocations: 97.92 kB / 0.8697 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.947e-05/0.6613, allocations: 327.6 kB / 0.8701 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/0.6618, allocations: 222 kB / 0.8703 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.6623, allocations: 329.1 kB / 0.8706 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008345/0.6632, allocations: 0.5112 MB / 0.8711 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.6632, allocations: 0 / 0.8711 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001522/0.6647, allocations: 0.8448 MB / 0.8719 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6647, allocations: 9.828 kB / 0.8719 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.6648, allocations: 4.781 kB / 0.8719 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004973/0.6653, allocations: 181.1 kB / 0.8721 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.6656, allocations: 96.06 kB / 0.8722 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/0.6688, allocations: 2.742 MB / 0.8749 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.6693, allocations: 80.11 kB / 0.8749 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.6693, allocations: 19.41 kB / 0.875 GB, free: 11.76 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004972/0.6698, allocations: 400.4 kB / 0.8753 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.67, allocations: 115.3 kB / 0.8755 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.6702, allocations: 144.1 kB / 0.8756 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.6702, allocations: 4.312 kB / 0.8756 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.6702, allocations: 7.047 kB / 0.8756 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6702, allocations: 0 / 0.8756 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.6725, allocations: 1.561 MB / 0.8771 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6725, allocations: 0 / 0.8771 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.6728, allocations: 44.75 kB / 0.8772 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004617/0.6732, allocations: 192.3 kB / 0.8774 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.6733, allocations: 10.8 kB / 0.8774 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004003/0.6773, allocations: 4.136 MB / 0.8814 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.6773, allocations: 3.984 kB / 0.8814 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.6791, allocations: 1.052 MB / 0.8824 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.6794, allocations: 215.1 kB / 0.8826 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.6795, allocations: 17.77 kB / 0.8827 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/0.6798, allocations: 36.91 kB / 0.8827 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.68, allocations: 54.8 kB / 0.8827 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.68, allocations: 21.89 kB / 0.8828 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001236/0.6813, allocations: 1.282 MB / 0.884 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6813, allocations: 0 / 0.884 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007819/0.6821, allocations: 208.8 kB / 0.8842 GB, free: 4.992 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.6831, allocations: 489.4 kB / 0.8847 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.6846, allocations: 0.7255 MB / 0.8854 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6846, allocations: 0 / 0.8854 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008612/0.6855, allocations: 0.5518 MB / 0.8859 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009705/0.6865, allocations: 194.4 kB / 0.8861 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.69, allocations: 2.692 MB / 0.8887 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/0.6907, allocations: 1.153 MB / 0.8899 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000282/0.691, allocations: 88.78 kB / 0.89 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.6911, allocations: 47.42 kB / 0.89 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.6912, allocations: 0 / 0.89 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of Templates: time 0.0173/0.7085, allocations: 9.844 MB / 0.8996 GB, free: 5.637 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)