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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.8203/0.8203, allocations: 143.4 MB / 159.2 MB, free: 4.879 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.001262/0.001262, allocations: 188.5 kB / 191.9 MB, free: 5.715 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.552/1.552, allocations: 222.9 MB / 447.3 MB, free: 5.848 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.001073/0.001073, allocations: 111.2 kB / 0.517 GB, free: 3.688 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001867/0.001867, allocations: 276.9 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 79.88 kB / 0.6885 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3551, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.4781/0.8333, allocations: 154.4 MB / 0.9187 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03013/0.8635, allocations: 21.56 MB / 0.9398 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002963/0.8665, allocations: 45.66 kB / 0.9398 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.8682, allocations: 1.131 MB / 0.9409 GB, free: 1 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.8702, allocations: 0.8108 MB / 0.9417 GB, free: 0.9727 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.8714, allocations: 384.8 kB / 0.9421 GB, free: 0.9609 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001637/0.8731, allocations: 1.348 MB / 0.9434 GB, free: 0.9609 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007099/0.8738, allocations: 0.606 MB / 0.944 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.8745, allocations: 0.4917 MB / 0.9445 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009854/0.8754, allocations: 0.9113 MB / 0.9454 GB, free: 0.8828 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.451e-05/0.8756, allocations: 37.34 kB / 0.9454 GB, free: 0.8828 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.8758, allocations: 82.55 kB / 0.9455 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.8761, allocations: 308.8 kB / 0.9458 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003653/0.8765, allocations: 465.7 kB / 0.9462 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008208/0.8773, allocations: 1.151 MB / 0.9473 GB, free: 484 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8773, allocations: 0 / 0.9473 GB, free: 484 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8773, allocations: 0 / 0.9473 GB, free: 484 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.8773, allocations: 3 kB / 0.9473 GB, free: 484 kB / 0.5573 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.002136/0.8795, allocations: 1.481 MB / 0.9488 GB, free: 15.59 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.8795, allocations: 10.16 kB / 0.9488 GB, free: 15.59 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.8797, allocations: 131.1 kB / 0.9489 GB, free: 15.53 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.8805, allocations: 0.6521 MB / 0.9496 GB, free: 15.14 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.8806, allocations: 73.97 kB / 0.9496 GB, free: 15.11 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.174e-05/0.8807, allocations: 51.19 kB / 0.9497 GB, free: 15.11 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000842/0.8816, allocations: 0.5196 MB / 0.9502 GB, free: 15.03 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.8816, allocations: 3.328 kB / 0.9502 GB, free: 15.03 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.8817, allocations: 19.27 kB / 0.9502 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.8817, allocations: 10.62 kB / 0.9502 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007437/0.8824, allocations: 414.6 kB / 0.9506 GB, free: 15.02 MB / 0.573 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.003389/0.8858, allocations: 2.801 MB / 0.9533 GB, free: 13.51 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009567/0.8868, allocations: 462.2 kB / 0.9538 GB, free: 13.47 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.8873, allocations: 279.5 kB / 0.9541 GB, free: 13.46 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.8874, allocations: 4.406 kB / 0.9541 GB, free: 13.46 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005067/0.8879, allocations: 310.3 kB / 0.9544 GB, free: 13.4 MB / 0.573 GB Notification: Performance of pre-optimization done (n=45): time 2.875e-06/0.8879, allocations: 0 / 0.9544 GB, free: 13.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=45): time 0.002751/0.8906, allocations: 1.23 MB / 0.9556 GB, free: 13.07 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.8907, allocations: 59.44 kB / 0.9556 GB, free: 13.01 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.8924, allocations: 1.76 MB / 0.9573 GB, free: 12.85 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.8925, allocations: 38.11 kB / 0.9574 GB, free: 12.82 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/0.8929, allocations: 0.5211 MB / 0.9579 GB, free: 12.68 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.8931, allocations: 145.9 kB / 0.958 GB, free: 12.59 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.8932, allocations: 95.03 kB / 0.9581 GB, free: 12.57 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.8933, allocations: 331.4 kB / 0.9584 GB, free: 12.26 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.8938, allocations: 216.8 kB / 0.9586 GB, free: 12.26 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.8943, allocations: 331.9 kB / 0.9589 GB, free: 12.14 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008382/0.8951, allocations: 0.5121 MB / 0.9594 GB, free: 12.03 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.8952, allocations: 1.781 kB / 0.9594 GB, free: 12.03 MB / 0.573 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001494/0.8967, allocations: 0.8464 MB / 0.9603 GB, free: 11.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.8967, allocations: 10.56 kB / 0.9603 GB, free: 11.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.8967, allocations: 4.688 kB / 0.9603 GB, free: 11.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000497/0.8972, allocations: 182.5 kB / 0.9605 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.8975, allocations: 91.75 kB / 0.9606 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/0.9007, allocations: 2.75 MB / 0.9632 GB, free: 10.49 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/0.9013, allocations: 84.59 kB / 0.9633 GB, free: 10.46 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.9013, allocations: 23.78 kB / 0.9633 GB, free: 10.45 MB / 0.573 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.0006147/0.902, allocations: 386 kB / 0.9637 GB, free: 10.34 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.9021, allocations: 109.4 kB / 0.9638 GB, free: 10.28 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.9023, allocations: 149.1 kB / 0.964 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.9023, allocations: 4.844 kB / 0.964 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.9023, allocations: 5.844 kB / 0.964 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.9024, allocations: 3.234 kB / 0.964 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/0.9051, allocations: 1.561 MB / 0.9655 GB, free: 9.652 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.9051, allocations: 0 / 0.9655 GB, free: 9.652 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.9053, allocations: 48.47 kB / 0.9655 GB, free: 9.648 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/0.9057, allocations: 193.7 kB / 0.9657 GB, free: 9.586 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.9058, allocations: 11.19 kB / 0.9657 GB, free: 9.582 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004006/0.9098, allocations: 4.133 MB / 0.9698 GB, free: 6.164 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.9098, allocations: 0 / 0.9698 GB, free: 6.164 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/0.9232, allocations: 9.769 MB / 0.9793 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.9236, allocations: 219.9 kB / 0.9795 GB, free: 15.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.303e-05/0.9237, allocations: 20.53 kB / 0.9795 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.9241, allocations: 29.84 kB / 0.9796 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.9243, allocations: 62.06 kB / 0.9796 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.9243, allocations: 10.75 kB / 0.9796 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001486/0.9258, allocations: 1.281 MB / 0.9809 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9258, allocations: 4 kB / 0.9809 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001234/0.9271, allocations: 312.5 kB / 0.9812 GB, free: 14.45 MB / 0.5886 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.001081/0.9282, allocations: 487.7 kB / 0.9817 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001525/0.9297, allocations: 0.7106 MB / 0.9823 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.9297, allocations: 4 kB / 0.9824 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0008866/0.9306, allocations: 0.5569 MB / 0.9829 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.9316, allocations: 190.4 kB / 0.9831 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00505/0.9367, allocations: 3.348 MB / 0.9863 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008687/0.9376, allocations: 1.176 MB / 0.9875 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003783/0.938, allocations: 88.8 kB / 0.9876 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.9381, allocations: 47.42 kB / 0.9876 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/0.9381, allocations: 0 / 0.9876 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of Templates: time 0.02198/0.9601, allocations: 11.91 MB / 0.9993 GB, free: 13.59 MB / 0.6042 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)