Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, 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.00103/0.00103, 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.002026/0.002026, allocations: 274.7 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9229/0.9229, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 95.02 kB / 0.5947 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1439, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4247/0.5687, allocations: 154.6 MB / 0.8306 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02416/0.5929, allocations: 21.5 MB / 0.8516 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.5953, allocations: 51.03 kB / 0.8516 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.5969, allocations: 1.132 MB / 0.8527 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.5984, allocations: 0.8186 MB / 0.8535 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.5996, allocations: 377 kB / 0.8539 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.6011, allocations: 1.256 MB / 0.8551 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009718/0.6021, allocations: 0.6885 MB / 0.8558 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008416/0.6029, allocations: 0.5571 MB / 0.8563 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.604, allocations: 0.9504 MB / 0.8572 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.6041, allocations: 70 kB / 0.8573 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.6045, allocations: 108.9 kB / 0.8574 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.6047, allocations: 338.2 kB / 0.8577 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004707/0.6052, allocations: 497 kB / 0.8582 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.6063, allocations: 1.18 MB / 0.8594 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6063, allocations: 0 / 0.8594 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6063, allocations: 0 / 0.8594 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.6063, allocations: 2.562 kB / 0.8594 GB, free: 7.297 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.002088/0.6084, allocations: 1.477 MB / 0.8608 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.6085, allocations: 14.2 kB / 0.8608 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.6087, allocations: 136.2 kB / 0.8609 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007713/0.6095, allocations: 0.6554 MB / 0.8616 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.6096, allocations: 71.5 kB / 0.8617 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.315e-05/0.6097, allocations: 49.14 kB / 0.8617 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009057/0.6106, allocations: 0.5162 MB / 0.8622 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.6106, allocations: 5.797 kB / 0.8622 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.6107, allocations: 18.84 kB / 0.8622 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.6107, allocations: 12.72 kB / 0.8622 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007903/0.6115, allocations: 411.1 kB / 0.8626 GB, free: 4.906 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.003314/0.6148, allocations: 2.738 MB / 0.8653 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008959/0.6157, allocations: 448.7 kB / 0.8657 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/0.6163, allocations: 307.9 kB / 0.866 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.6164, allocations: 6.156 kB / 0.866 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005245/0.6169, allocations: 283 kB / 0.8663 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.275e-06/0.6169, allocations: 0 / 0.8663 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.002555/0.6195, allocations: 1.152 MB / 0.8674 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.6195, allocations: 56.78 kB / 0.8675 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.6213, allocations: 1.751 MB / 0.8692 GB, free: 436 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/0.6213, allocations: 50.59 kB / 0.8692 GB, free: 384 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/0.6217, allocations: 0.5285 MB / 0.8698 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.6219, allocations: 143.6 kB / 0.8699 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.622, allocations: 101 kB / 0.87 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.6221, allocations: 326.4 kB / 0.8703 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.6226, allocations: 209.6 kB / 0.8705 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.6231, allocations: 350 kB / 0.8708 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008631/0.624, allocations: 0.5051 MB / 0.8713 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.624, allocations: 2.844 kB / 0.8713 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001489/0.6255, allocations: 0.8138 MB / 0.8721 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.6255, allocations: 11 kB / 0.8721 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6255, allocations: 5.25 kB / 0.8721 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004024/0.626, allocations: 148.1 kB / 0.8723 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.6263, allocations: 99 kB / 0.8724 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/0.6293, allocations: 2.61 MB / 0.8749 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.6298, allocations: 80.02 kB / 0.875 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.6299, allocations: 21.91 kB / 0.875 GB, free: 11.89 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004862/0.6304, allocations: 388.1 kB / 0.8754 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.6305, allocations: 119 kB / 0.8755 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.6307, allocations: 146.4 kB / 0.8756 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.6307, allocations: 2.906 kB / 0.8757 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.6308, allocations: 2.75 kB / 0.8757 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.6308, allocations: 2.094 kB / 0.8757 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.633, allocations: 1.491 MB / 0.8771 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.633, allocations: 0 / 0.8771 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.6332, allocations: 48.48 kB / 0.8772 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003701/0.6336, allocations: 159.1 kB / 0.8773 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.6337, allocations: 14.08 kB / 0.8773 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003371/0.637, allocations: 4.031 MB / 0.8813 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6371, allocations: 3.938 kB / 0.8813 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.6387, allocations: 0.9836 MB / 0.8822 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.6389, allocations: 221.1 kB / 0.8824 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.639, allocations: 12.5 kB / 0.8824 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.6394, allocations: 33.78 kB / 0.8825 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.6395, allocations: 51.2 kB / 0.8825 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/0.6396, allocations: 17.83 kB / 0.8825 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001302/0.6409, allocations: 1.294 MB / 0.8838 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6409, allocations: 0 / 0.8838 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007311/0.6416, allocations: 196.4 kB / 0.884 GB, free: 5.203 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,12,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.001105/0.6428, allocations: 491.1 kB / 0.8845 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.6443, allocations: 0.6957 MB / 0.8851 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6443, allocations: 0 / 0.8851 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008214/0.6451, allocations: 0.5329 MB / 0.8857 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.6461, allocations: 202.3 kB / 0.8859 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.65, allocations: 2.682 MB / 0.8885 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008197/0.6508, allocations: 1.149 MB / 0.8896 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003133/0.6511, allocations: 92.77 kB / 0.8897 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.6513, allocations: 43.42 kB / 0.8897 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.6513, allocations: 0 / 0.8897 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of Templates: time 0.0185/0.6698, allocations: 9.802 MB / 0.8993 GB, free: 6.004 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)