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.001489/0.001488, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001703/0.001703, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.312/1.312, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 283.1 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9495/0.9495, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 95.95 kB / 0.5945 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1509, allocations: 86.98 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.492/0.643, allocations: 154.4 MB / 0.8303 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03803/0.6811, allocations: 21.66 MB / 0.8514 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002947/0.684, allocations: 54.19 kB / 0.8515 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002616/0.6867, allocations: 1.129 MB / 0.8526 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002638/0.6894, allocations: 0.8066 MB / 0.8534 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.6914, allocations: 387 kB / 0.8537 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002294/0.6937, allocations: 1.354 MB / 0.855 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.695, allocations: 0.6094 MB / 0.8556 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.6962, allocations: 0.4904 MB / 0.8561 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.6979, allocations: 0.9031 MB / 0.857 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.6981, allocations: 37.38 kB / 0.857 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.6985, allocations: 90.19 kB / 0.8571 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004327/0.699, allocations: 300.7 kB / 0.8574 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007047/0.6997, allocations: 462.8 kB / 0.8579 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.7014, allocations: 1.16 MB / 0.859 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7014, allocations: 4 kB / 0.859 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7014, allocations: 0 / 0.859 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.138e-05/0.7015, allocations: 0 / 0.859 GB, free: 7.238 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.003954/0.7054, allocations: 1.468 MB / 0.8604 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.7055, allocations: 7.75 kB / 0.8604 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003255/0.7058, allocations: 134 kB / 0.8606 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.7073, allocations: 0.665 MB / 0.8612 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.7075, allocations: 76.25 kB / 0.8613 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.7076, allocations: 48.53 kB / 0.8613 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.7094, allocations: 0.5184 MB / 0.8618 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.7094, allocations: 0 / 0.8618 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.641e-05/0.7095, allocations: 18.75 kB / 0.8618 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.7095, allocations: 20.64 kB / 0.8619 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.711, allocations: 410.6 kB / 0.8623 GB, free: 4.848 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.00621/0.7172, allocations: 2.797 MB / 0.865 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.719, allocations: 458.2 kB / 0.8654 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.7201, allocations: 285 kB / 0.8657 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.857e-05/0.7201, allocations: 8.906 kB / 0.8657 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.7212, allocations: 306.2 kB / 0.866 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 3.807e-06/0.7212, allocations: 0 / 0.866 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.005611/0.7268, allocations: 1.239 MB / 0.8672 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.7269, allocations: 62.91 kB / 0.8673 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/0.7305, allocations: 1.741 MB / 0.869 GB, free: 260 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.7306, allocations: 36.2 kB / 0.869 GB, free: 220 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007247/0.7313, allocations: 0.5213 MB / 0.8695 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.7316, allocations: 145.5 kB / 0.8697 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.7318, allocations: 102.9 kB / 0.8698 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.732, allocations: 330.7 kB / 0.8701 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008834/0.7329, allocations: 221.9 kB / 0.8703 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009833/0.7339, allocations: 327.2 kB / 0.8706 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.7356, allocations: 0.5095 MB / 0.8711 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7356, allocations: 0 / 0.8711 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002596/0.7382, allocations: 0.8446 MB / 0.8719 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.7383, allocations: 7.281 kB / 0.8719 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.7383, allocations: 2.812 kB / 0.8719 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008427/0.7391, allocations: 189.9 kB / 0.8721 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.7397, allocations: 95.23 kB / 0.8722 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00544/0.7452, allocations: 2.745 MB / 0.8749 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007239/0.7459, allocations: 75.55 kB / 0.8749 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.746, allocations: 27.78 kB / 0.875 GB, free: 11.73 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.0007168/0.7467, allocations: 388.5 kB / 0.8753 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.747, allocations: 115.4 kB / 0.8755 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.7473, allocations: 148 kB / 0.8756 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.7473, allocations: 4.438 kB / 0.8756 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.7474, allocations: 2.844 kB / 0.8756 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.7474, allocations: 0 / 0.8756 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004155/0.7515, allocations: 1.565 MB / 0.8771 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.7516, allocations: 3.281 kB / 0.8771 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.752, allocations: 42.09 kB / 0.8772 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008717/0.7529, allocations: 198.3 kB / 0.8774 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-05/0.753, allocations: 8.906 kB / 0.8774 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006915/0.7599, allocations: 4.124 MB / 0.8814 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7599, allocations: 3.938 kB / 0.8814 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003276/0.7632, allocations: 1.061 MB / 0.8824 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004863/0.7637, allocations: 219.8 kB / 0.8826 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.7639, allocations: 14.56 kB / 0.8827 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006526/0.7646, allocations: 35.75 kB / 0.8827 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.7648, allocations: 50.84 kB / 0.8827 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.711e-05/0.7649, allocations: 21.38 kB / 0.8828 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002399/0.7673, allocations: 1.282 MB / 0.884 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7673, allocations: 0 / 0.884 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001408/0.7687, allocations: 210.5 kB / 0.8842 GB, free: 4.98 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.001936/0.7707, allocations: 482 kB / 0.8847 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00251/0.7732, allocations: 0.7294 MB / 0.8854 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.7732, allocations: 0 / 0.8854 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.7748, allocations: 0.5558 MB / 0.8859 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.7767, allocations: 182.4 kB / 0.8861 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006413/0.7831, allocations: 2.704 MB / 0.8887 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.7844, allocations: 1.157 MB / 0.8899 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005271/0.785, allocations: 92.77 kB / 0.89 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.7852, allocations: 43.44 kB / 0.89 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.7852, allocations: 0 / 0.89 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of Templates: time 0.03322/0.8184, allocations: 9.845 MB / 0.8996 GB, free: 5.59 MB / 0.6075 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)