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.001351/0.001351, allocations: 110.2 kB / 16.41 MB, free: 6.465 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.001331/0.001331, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002544/0.002544, allocations: 297.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002828/0.002828, allocations: 99.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4301, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1931/0.6232, allocations: 157.2 MB / 0.9205 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03102/0.6542, allocations: 21.79 MB / 0.9418 GB, free: 308 kB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.6567, allocations: 55.69 kB / 0.9418 GB, free: 252 kB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.6585, allocations: 1.169 MB / 0.943 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.6603, allocations: 0.864 MB / 0.9438 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.6616, allocations: 444.1 kB / 0.9442 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001706/0.6633, allocations: 1.251 MB / 0.9455 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008198/0.6641, allocations: 0.5619 MB / 0.946 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007928/0.6649, allocations: 0.5568 MB / 0.9466 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.666, allocations: 0.9216 MB / 0.9475 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.6662, allocations: 64 kB / 0.9475 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.6664, allocations: 112 kB / 0.9476 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.6667, allocations: 316.7 kB / 0.9479 GB, free: 9.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004824/0.6672, allocations: 496.8 kB / 0.9484 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.6687, allocations: 1.207 MB / 0.9496 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.6687, allocations: 7.984 kB / 0.9496 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6687, allocations: 0 / 0.9496 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.6687, allocations: 0 / 0.9496 GB, free: 8.289 MB / 0.7169 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.002497/0.6712, allocations: 1.517 MB / 0.9511 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.6712, allocations: 8.031 kB / 0.9511 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.6714, allocations: 140 kB / 0.9512 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009852/0.6724, allocations: 0.6794 MB / 0.9519 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.6726, allocations: 74.69 kB / 0.9519 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.71e-05/0.6727, allocations: 51.97 kB / 0.952 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.6737, allocations: 0.5184 MB / 0.9525 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.6737, allocations: 4 kB / 0.9525 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.016e-05/0.6737, allocations: 16 kB / 0.9525 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.6737, allocations: 8 kB / 0.9525 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008907/0.6746, allocations: 415.7 kB / 0.9529 GB, free: 4.75 MB / 0.7169 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.004028/0.6787, allocations: 2.796 MB / 0.9557 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.6798, allocations: 434.2 kB / 0.9561 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/0.6804, allocations: 269.3 kB / 0.9563 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.6804, allocations: 4.328 kB / 0.9563 GB, free: 1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006089/0.681, allocations: 294.8 kB / 0.9566 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 2.915e-06/0.681, allocations: 0 / 0.9566 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.3968/1.078, allocations: 1.236 MB / 0.9578 GB, free: 191.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/1.078, allocations: 60.05 kB / 0.9579 GB, free: 191.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/1.08, allocations: 1.751 MB / 0.9596 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/1.08, allocations: 41.69 kB / 0.9596 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000367/1.081, allocations: 0.52 MB / 0.9601 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/1.081, allocations: 158.1 kB / 0.9603 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/1.081, allocations: 94.92 kB / 0.9604 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.933e-05/1.081, allocations: 326.1 kB / 0.9607 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/1.082, allocations: 221.4 kB / 0.9609 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005442/1.082, allocations: 332.4 kB / 0.9612 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00086/1.083, allocations: 0.5029 MB / 0.9617 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.083, allocations: 5.094 kB / 0.9617 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001619/1.085, allocations: 0.8517 MB / 0.9625 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.085, allocations: 6.688 kB / 0.9625 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.085, allocations: 2.984 kB / 0.9626 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005178/1.085, allocations: 187.9 kB / 0.9627 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/1.086, allocations: 93 kB / 0.9628 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/1.089, allocations: 2.999 MB / 0.9657 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/1.089, allocations: 70.19 kB / 0.9658 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/1.089, allocations: 23.31 kB / 0.9658 GB, free: 187.3 MB / 0.7169 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.0004617/1.09, allocations: 388.7 kB / 0.9662 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/1.09, allocations: 124.3 kB / 0.9663 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/1.09, allocations: 142.4 kB / 0.9665 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.09, allocations: 5.203 kB / 0.9665 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/1.09, allocations: 2.75 kB / 0.9665 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/1.09, allocations: 11.62 kB / 0.9665 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/1.092, allocations: 1.551 MB / 0.968 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.092, allocations: 0 / 0.968 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/1.093, allocations: 44.3 kB / 0.968 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/1.093, allocations: 195.4 kB / 0.9682 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/1.093, allocations: 19.05 kB / 0.9682 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003332/1.096, allocations: 4.557 MB / 0.9727 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.096, allocations: 3.047 kB / 0.9727 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/1.098, allocations: 1.065 MB / 0.9737 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/1.098, allocations: 218.7 kB / 0.9739 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.059e-05/1.098, allocations: 12.89 kB / 0.974 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/1.099, allocations: 29.06 kB / 0.974 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/1.099, allocations: 61.22 kB / 0.974 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/1.099, allocations: 15.8 kB / 0.9741 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001033/1.1, allocations: 1.281 MB / 0.9753 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.1, allocations: 0 / 0.9753 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007426/1.101, allocations: 204.4 kB / 0.9755 GB, free: 180.2 MB / 0.7169 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.001651/1.102, allocations: 485.1 kB / 0.976 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001337/1.104, allocations: 0.6922 MB / 0.9766 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.104, allocations: 0 / 0.9766 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007205/1.104, allocations: 0.5325 MB / 0.9772 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/1.105, allocations: 207 kB / 0.9774 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/1.108, allocations: 2.403 MB / 0.9797 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/1.109, allocations: 1.149 MB / 0.9808 GB, free: 175 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002596/1.109, allocations: 88.78 kB / 0.9809 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.974e-05/1.109, allocations: 47.42 kB / 0.981 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/1.109, allocations: 7.062 kB / 0.981 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.01671/1.126, allocations: 10.66 MB / 0.9914 GB, free: 164.4 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)