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.001786/0.001786, allocations: 106.7 kB / 16.41 MB, free: 6.5 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.002036/0.002036, allocations: 189.2 kB / 17.34 MB, free: 5.766 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.437/1.437, allocations: 222.9 MB / 241 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.002479/0.002479, allocations: 293.1 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 103.8 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4839/0.4867, allocations: 86.97 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1897/0.6765, allocations: 157.2 MB / 0.9205 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02725/0.7037, allocations: 21.79 MB / 0.9418 GB, free: 332 kB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.7053, allocations: 55.69 kB / 0.9418 GB, free: 276 kB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.7069, allocations: 1.161 MB / 0.943 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.7083, allocations: 0.8757 MB / 0.9438 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.7093, allocations: 439.7 kB / 0.9442 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.711, allocations: 1.255 MB / 0.9455 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008658/0.7119, allocations: 0.5619 MB / 0.946 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008964/0.7128, allocations: 0.5568 MB / 0.9466 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.7139, allocations: 0.9216 MB / 0.9475 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.7141, allocations: 64 kB / 0.9475 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.7143, allocations: 112 kB / 0.9476 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003105/0.7146, allocations: 324.6 kB / 0.9479 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00047/0.7151, allocations: 480.9 kB / 0.9484 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.7165, allocations: 1.211 MB / 0.9496 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.7165, allocations: 0 / 0.9496 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7165, allocations: 4 kB / 0.9496 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.7165, allocations: 0 / 0.9496 GB, free: 8.32 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.002396/0.7189, allocations: 1.521 MB / 0.9511 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.7189, allocations: 12.03 kB / 0.9511 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.7191, allocations: 136 kB / 0.9512 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000942/0.72, allocations: 0.6833 MB / 0.9519 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.7202, allocations: 70.69 kB / 0.9519 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.018e-05/0.7203, allocations: 51.98 kB / 0.952 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009752/0.7212, allocations: 0.5184 MB / 0.9525 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.7213, allocations: 7.984 kB / 0.9525 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-05/0.7213, allocations: 16 kB / 0.9525 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.7213, allocations: 12 kB / 0.9525 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008579/0.7222, allocations: 411.7 kB / 0.9529 GB, free: 4.773 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.003862/0.726, allocations: 2.804 MB / 0.9557 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.7271, allocations: 435.4 kB / 0.9561 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000585/0.7277, allocations: 265.8 kB / 0.9563 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.7277, allocations: 8.328 kB / 0.9563 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005745/0.7283, allocations: 290.8 kB / 0.9566 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 2.404e-06/0.7283, allocations: 4 kB / 0.9566 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.3287/1.057, allocations: 1.241 MB / 0.9578 GB, free: 191.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/1.057, allocations: 60.98 kB / 0.9579 GB, free: 191.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/1.06, allocations: 1.749 MB / 0.9596 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/1.06, allocations: 36.61 kB / 0.9596 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/1.06, allocations: 0.5191 MB / 0.9601 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/1.06, allocations: 160.1 kB / 0.9603 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/1.06, allocations: 98.05 kB / 0.9604 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.498e-05/1.06, allocations: 326 kB / 0.9607 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/1.061, allocations: 216 kB / 0.9609 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/1.061, allocations: 329.3 kB / 0.9612 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008513/1.062, allocations: 0.5068 MB / 0.9617 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.062, allocations: 4.969 kB / 0.9617 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001601/1.064, allocations: 0.8508 MB / 0.9626 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.064, allocations: 6.688 kB / 0.9626 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.064, allocations: 3.828 kB / 0.9626 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/1.064, allocations: 187.8 kB / 0.9627 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/1.065, allocations: 93.22 kB / 0.9628 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/1.068, allocations: 2.995 MB / 0.9658 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/1.068, allocations: 71.84 kB / 0.9658 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/1.068, allocations: 25.86 kB / 0.9658 GB, free: 187.3 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.0004488/1.069, allocations: 385 kB / 0.9662 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/1.069, allocations: 120.7 kB / 0.9663 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/1.069, allocations: 144.7 kB / 0.9665 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.069, allocations: 5.516 kB / 0.9665 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/1.069, allocations: 2.906 kB / 0.9665 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/1.069, allocations: 3.703 kB / 0.9665 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/1.071, allocations: 1.554 MB / 0.968 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/1.071, allocations: 4.594 kB / 0.968 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/1.071, allocations: 42.48 kB / 0.968 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/1.072, allocations: 195.9 kB / 0.9682 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/1.072, allocations: 16.8 kB / 0.9682 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00325/1.075, allocations: 4.559 MB / 0.9727 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.075, allocations: 0.8906 kB / 0.9727 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/1.077, allocations: 1.067 MB / 0.9737 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/1.077, allocations: 221.5 kB / 0.974 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.383e-05/1.077, allocations: 13.41 kB / 0.974 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/1.077, allocations: 28.02 kB / 0.974 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/1.078, allocations: 55.84 kB / 0.974 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/1.078, allocations: 19.8 kB / 0.9741 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001038/1.079, allocations: 1.28 MB / 0.9753 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.079, allocations: 0 / 0.9753 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000719/1.079, allocations: 202.3 kB / 0.9755 GB, free: 180.3 MB / 0.7169 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.001631/1.081, allocations: 484.8 kB / 0.976 GB, free: 180 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00135/1.082, allocations: 0.6952 MB / 0.9766 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.082, allocations: 0 / 0.9766 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007194/1.083, allocations: 0.5318 MB / 0.9772 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009073/1.084, allocations: 196.1 kB / 0.9774 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/1.087, allocations: 2.406 MB / 0.9797 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/1.087, allocations: 1.149 MB / 0.9808 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002368/1.087, allocations: 80.8 kB / 0.9809 GB, free: 175 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.811e-05/1.088, allocations: 47.42 kB / 0.9809 GB, free: 175 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/1.088, allocations: 0 / 0.9809 GB, free: 175 MB / 0.7169 GB Notification: Performance of Templates: time 0.01604/1.104, allocations: 10.67 MB / 0.9914 GB, free: 164.5 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)