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.001044/0.001044, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001018/0.001018, allocations: 190 kB / 16.25 MB, free: 6.633 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.276/1.276, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 282.8 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9075/0.9075, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002504/0.002504, allocations: 97.02 kB / 0.5947 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1535, allocations: 86.99 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4357/0.5893, allocations: 154.6 MB / 0.8306 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02217/0.6115, allocations: 21.49 MB / 0.8516 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.6136, allocations: 46.44 kB / 0.8516 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.615, allocations: 1.133 MB / 0.8527 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.6163, allocations: 0.815 MB / 0.8535 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009915/0.6173, allocations: 390.8 kB / 0.8539 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.6184, allocations: 1.246 MB / 0.8551 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007582/0.6192, allocations: 0.6962 MB / 0.8558 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000542/0.6197, allocations: 0.5586 MB / 0.8563 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008159/0.6205, allocations: 0.9531 MB / 0.8572 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.367e-05/0.6206, allocations: 69.47 kB / 0.8573 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.6209, allocations: 108.9 kB / 0.8574 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.6211, allocations: 333.1 kB / 0.8577 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.6215, allocations: 491.7 kB / 0.8582 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009909/0.6225, allocations: 1.184 MB / 0.8594 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6225, allocations: 0 / 0.8594 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6225, allocations: 0 / 0.8594 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.6225, allocations: 0 / 0.8594 GB, free: 7.312 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.001969/0.6245, allocations: 1.476 MB / 0.8608 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.6245, allocations: 9.375 kB / 0.8608 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.6247, allocations: 130.6 kB / 0.8609 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007063/0.6254, allocations: 0.6691 MB / 0.8616 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.6255, allocations: 67.81 kB / 0.8617 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.21e-05/0.6256, allocations: 45.75 kB / 0.8617 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008643/0.6265, allocations: 0.5186 MB / 0.8622 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.6265, allocations: 6.562 kB / 0.8622 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.6266, allocations: 17.98 kB / 0.8622 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.6266, allocations: 10.22 kB / 0.8622 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007551/0.6273, allocations: 417.8 kB / 0.8626 GB, free: 4.926 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.00328/0.6306, allocations: 2.798 MB / 0.8654 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009496/0.6316, allocations: 463.7 kB / 0.8658 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.6321, allocations: 284.1 kB / 0.8661 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/0.6322, allocations: 10.05 kB / 0.8661 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000511/0.6327, allocations: 295.1 kB / 0.8664 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.374e-06/0.6327, allocations: 2.719 kB / 0.8664 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.002752/0.6354, allocations: 1.251 MB / 0.8676 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.6355, allocations: 53.81 kB / 0.8676 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.6371, allocations: 1.747 MB / 0.8694 GB, free: 328 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.6371, allocations: 44.62 kB / 0.8694 GB, free: 280 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/0.6375, allocations: 0.5169 MB / 0.8699 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.6377, allocations: 150.3 kB / 0.87 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.6378, allocations: 92.09 kB / 0.8701 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.638, allocations: 333.5 kB / 0.8705 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.6385, allocations: 218.2 kB / 0.8707 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.639, allocations: 323.7 kB / 0.871 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008298/0.6398, allocations: 0.5087 MB / 0.8715 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6398, allocations: 3.984 kB / 0.8715 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001545/0.6414, allocations: 0.8506 MB / 0.8723 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.6414, allocations: 11.5 kB / 0.8723 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.6414, allocations: 2.438 kB / 0.8723 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005059/0.6419, allocations: 190.2 kB / 0.8725 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.6423, allocations: 87.91 kB / 0.8726 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00324/0.6455, allocations: 3.009 MB / 0.8755 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/0.646, allocations: 76.52 kB / 0.8756 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.6461, allocations: 19.09 kB / 0.8756 GB, free: 11.59 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.0004959/0.6466, allocations: 392.3 kB / 0.876 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.6467, allocations: 119.7 kB / 0.8761 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.6469, allocations: 139.6 kB / 0.8762 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6469, allocations: 4.719 kB / 0.8762 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.6469, allocations: 6.672 kB / 0.8762 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.647, allocations: 3 kB / 0.8762 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.6493, allocations: 1.564 MB / 0.8778 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6493, allocations: 0 / 0.8778 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.6495, allocations: 48.34 kB / 0.8778 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004527/0.65, allocations: 190.7 kB / 0.878 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.65, allocations: 16.3 kB / 0.878 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004165/0.6542, allocations: 4.555 MB / 0.8825 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6542, allocations: 0 / 0.8825 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.6561, allocations: 1.066 MB / 0.8835 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.6565, allocations: 209.6 kB / 0.8837 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/0.6566, allocations: 13.06 kB / 0.8837 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.6569, allocations: 41.23 kB / 0.8838 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.657, allocations: 54.55 kB / 0.8838 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.6571, allocations: 16.69 kB / 0.8838 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001383/0.6585, allocations: 1.281 MB / 0.8851 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6585, allocations: 0 / 0.8851 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008514/0.6594, allocations: 211.7 kB / 0.8853 GB, free: 4.184 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.001047/0.6604, allocations: 482.2 kB / 0.8857 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.662, allocations: 0.7583 MB / 0.8865 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.662, allocations: 4.062 kB / 0.8865 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008632/0.6629, allocations: 0.5591 MB / 0.887 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009557/0.6638, allocations: 201.5 kB / 0.8872 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.6673, allocations: 2.708 MB / 0.8899 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007035/0.6681, allocations: 1.157 MB / 0.891 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000264/0.6683, allocations: 88.77 kB / 0.8911 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.6685, allocations: 47.44 kB / 0.8911 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.6685, allocations: 0 / 0.8911 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of Templates: time 0.01747/0.6859, allocations: 10.24 MB / 0.9011 GB, free: 4.199 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)