Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.000988/0.000988, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002177/0.002177, allocations: 284.2 kB / 291.5 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9184/0.9184, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 96.06 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3703, allocations: 86.98 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1545/0.5248, allocations: 156.7 MB / 0.9201 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02174/0.5466, allocations: 21.77 MB / 0.9413 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.5478, allocations: 51.69 kB / 0.9414 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.5493, allocations: 1.161 MB / 0.9425 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.5505, allocations: 0.864 MB / 0.9434 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008808/0.5514, allocations: 452.7 kB / 0.9438 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.5525, allocations: 1.255 MB / 0.945 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006981/0.5532, allocations: 0.6714 MB / 0.9457 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005503/0.5537, allocations: 0.5569 MB / 0.9462 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009238/0.5547, allocations: 0.9216 MB / 0.9471 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.5548, allocations: 64 kB / 0.9472 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.555, allocations: 108 kB / 0.9473 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.5553, allocations: 324.7 kB / 0.9476 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003882/0.5557, allocations: 496.8 kB / 0.9481 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.5568, allocations: 1.194 MB / 0.9492 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5568, allocations: 0 / 0.9492 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5568, allocations: 4 kB / 0.9492 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.5568, allocations: 0 / 0.9492 GB, free: 8.66 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.00214/0.5589, allocations: 1.478 MB / 0.9507 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.559, allocations: 12.03 kB / 0.9507 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.5592, allocations: 135.2 kB / 0.9508 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/0.56, allocations: 0.6667 MB / 0.9515 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.5602, allocations: 70.69 kB / 0.9515 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.703e-05/0.5603, allocations: 48 kB / 0.9516 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009231/0.5612, allocations: 0.5223 MB / 0.9521 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.5612, allocations: 0 / 0.9521 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.5613, allocations: 20 kB / 0.9521 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.5613, allocations: 12 kB / 0.9521 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008248/0.5621, allocations: 415.7 kB / 0.9525 GB, free: 5.172 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.003412/0.5655, allocations: 2.792 MB / 0.9553 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009846/0.5665, allocations: 463 kB / 0.9557 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005626/0.5671, allocations: 285.3 kB / 0.956 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.5672, allocations: 8.312 kB / 0.956 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005552/0.5677, allocations: 302.7 kB / 0.9563 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 2.044e-06/0.5677, allocations: 0 / 0.9563 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.302/0.8698, allocations: 1.235 MB / 0.9575 GB, free: 192.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.8698, allocations: 57.41 kB / 0.9575 GB, free: 192 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.8722, allocations: 1.746 MB / 0.9592 GB, free: 191.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/0.8722, allocations: 44.42 kB / 0.9593 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.8726, allocations: 0.518 MB / 0.9598 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.8727, allocations: 149 kB / 0.9599 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.8729, allocations: 95.83 kB / 0.96 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.012e-05/0.8729, allocations: 330.4 kB / 0.9603 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004855/0.8734, allocations: 219.5 kB / 0.9605 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.8739, allocations: 327.2 kB / 0.9608 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008308/0.8748, allocations: 0.5047 MB / 0.9613 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.8748, allocations: 1.219 kB / 0.9613 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001521/0.8763, allocations: 0.8501 MB / 0.9622 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.8763, allocations: 6.875 kB / 0.9622 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.8763, allocations: 3.531 kB / 0.9622 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004907/0.8768, allocations: 182.8 kB / 0.9624 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.8772, allocations: 96.92 kB / 0.9624 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.8801, allocations: 2.992 MB / 0.9654 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.8806, allocations: 78.3 kB / 0.9654 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.8806, allocations: 20.17 kB / 0.9655 GB, free: 187.6 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.0003827/0.881, allocations: 379.9 kB / 0.9658 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.8811, allocations: 115.8 kB / 0.9659 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.8813, allocations: 145.6 kB / 0.9661 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.8813, allocations: 2.344 kB / 0.9661 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8813, allocations: 2.125 kB / 0.9661 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.8816, allocations: 216.5 kB / 0.9663 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.685e-05/0.8817, allocations: 13.44 kB / 0.9663 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.882, allocations: 28.17 kB / 0.9663 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.8821, allocations: 58.64 kB / 0.9664 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00171/0.8838, allocations: 0.8336 MB / 0.9672 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001323/0.8851, allocations: 1.001 MB / 0.9682 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003585/0.8855, allocations: 232.8 kB / 0.9684 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009996/0.8865, allocations: 1.279 MB / 0.9696 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of Backend: time 3.2e-07/0.8865, allocations: 3.938 kB / 0.9697 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00237/0.8889, allocations: 1.24 MB / 0.9709 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of SimCode: time 0.002548/0.8915, allocations: 2.746 MB / 0.9735 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.01368/0.9052, allocations: 10.09 MB / 0.9834 GB, free: 172.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)