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.001145/0.001149, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001005/0.001005, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00207/0.00207, allocations: 284.8 kB / 291.4 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.8811/0.8811, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 97.94 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1466, allocations: 86.96 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.3876/0.5342, allocations: 156.7 MB / 0.8346 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02369/0.5579, allocations: 21.76 MB / 0.8559 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.5594, allocations: 51.69 kB / 0.8559 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.5609, allocations: 1.165 MB / 0.8571 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.5622, allocations: 0.8562 MB / 0.8579 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.5632, allocations: 438.8 kB / 0.8583 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001151/0.5643, allocations: 1.251 MB / 0.8595 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007302/0.5651, allocations: 0.6927 MB / 0.8602 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005695/0.5657, allocations: 0.549 MB / 0.8608 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009209/0.5666, allocations: 0.9177 MB / 0.8617 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-05/0.5667, allocations: 68 kB / 0.8617 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.5669, allocations: 112 kB / 0.8618 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.5672, allocations: 320.7 kB / 0.8621 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.5676, allocations: 488.8 kB / 0.8626 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009884/0.5686, allocations: 1.197 MB / 0.8638 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5686, allocations: 0 / 0.8638 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5686, allocations: 0 / 0.8638 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.5686, allocations: 4 kB / 0.8638 GB, free: 3.902 MB / 0.6231 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.00203/0.5706, allocations: 1.473 MB / 0.8652 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.5707, allocations: 12.03 kB / 0.8652 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.5708, allocations: 127.3 kB / 0.8653 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008405/0.5717, allocations: 0.6823 MB / 0.866 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.5718, allocations: 70.69 kB / 0.8661 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.638e-05/0.5719, allocations: 48 kB / 0.8661 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008495/0.5728, allocations: 0.5145 MB / 0.8666 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.5728, allocations: 0 / 0.8666 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/0.5728, allocations: 20 kB / 0.8666 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.5728, allocations: 15.94 kB / 0.8667 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007707/0.5736, allocations: 419.7 kB / 0.8671 GB, free: 424 kB / 0.6231 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.003203/0.5768, allocations: 2.704 MB / 0.8697 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000867/0.5777, allocations: 445.3 kB / 0.8701 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005869/0.5783, allocations: 310.1 kB / 0.8704 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.5784, allocations: 12.33 kB / 0.8704 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005022/0.5789, allocations: 283.7 kB / 0.8707 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 1.864e-06/0.5789, allocations: 0 / 0.8707 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.002524/0.5814, allocations: 1.148 MB / 0.8718 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.5815, allocations: 59.39 kB / 0.8719 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.5832, allocations: 1.756 MB / 0.8736 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.5832, allocations: 37.7 kB / 0.8736 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.5836, allocations: 0.5288 MB / 0.8741 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.5837, allocations: 146 kB / 0.8743 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.5839, allocations: 98.25 kB / 0.8744 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.584, allocations: 334 kB / 0.8747 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/0.5845, allocations: 205 kB / 0.8749 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005051/0.585, allocations: 343.1 kB / 0.8752 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008184/0.5858, allocations: 0.5236 MB / 0.8757 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5858, allocations: 0 / 0.8757 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001439/0.5873, allocations: 0.8091 MB / 0.8765 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5873, allocations: 11.94 kB / 0.8765 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.5873, allocations: 4 kB / 0.8765 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003882/0.5877, allocations: 137.5 kB / 0.8767 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.5881, allocations: 103.9 kB / 0.8768 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002691/0.5908, allocations: 2.605 MB / 0.8793 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.5912, allocations: 71.56 kB / 0.8794 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.5912, allocations: 23.98 kB / 0.8794 GB, free: 3.18 MB / 0.6387 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.0004364/0.5917, allocations: 383.3 kB / 0.8798 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.5918, allocations: 118.5 kB / 0.8799 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.592, allocations: 143.7 kB / 0.88 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.592, allocations: 4 kB / 0.88 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.592, allocations: 4 kB / 0.88 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5921, allocations: 7.984 kB / 0.88 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.5942, allocations: 1.49 MB / 0.8815 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5943, allocations: 0 / 0.8815 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.5945, allocations: 39.97 kB / 0.8815 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003764/0.5949, allocations: 165.6 kB / 0.8817 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.5949, allocations: 11.98 kB / 0.8817 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/0.5984, allocations: 4.029 MB / 0.8856 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5984, allocations: 3.938 kB / 0.8856 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.6, allocations: 0.993 MB / 0.8866 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.6003, allocations: 211.5 kB / 0.8868 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/0.6004, allocations: 16 kB / 0.8868 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.6007, allocations: 23.97 kB / 0.8868 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.6008, allocations: 59.92 kB / 0.8869 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.6009, allocations: 11.98 kB / 0.8869 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001305/0.6022, allocations: 1.296 MB / 0.8882 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.502e-06/0.6022, allocations: 0 / 0.8882 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007163/0.6029, allocations: 191.7 kB / 0.8884 GB, free: 9.605 MB / 0.6544 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.001109/0.6041, allocations: 493.9 kB / 0.8888 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.6053, allocations: 0.6686 MB / 0.8895 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6054, allocations: 0 / 0.8895 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007433/0.6061, allocations: 0.5213 MB / 0.89 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008725/0.607, allocations: 201.8 kB / 0.8902 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.6104, allocations: 2.353 MB / 0.8925 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006997/0.6111, allocations: 1.153 MB / 0.8936 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002459/0.6114, allocations: 92.72 kB / 0.8937 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.6115, allocations: 51.42 kB / 0.8938 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.6115, allocations: 4 kB / 0.8938 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of Templates: time 0.01719/0.6287, allocations: 10.03 MB / 0.9035 GB, free: 10.29 MB / 0.67 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)