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.001922/0.001922, allocations: 110.3 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.002147/0.002147, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.41/1.41, 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.002539/0.002539, allocations: 282.6 kB / 291.5 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.9857/0.9857, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 92.17 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4841, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1801/0.6642, allocations: 157.1 MB / 0.9205 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02705/0.6912, allocations: 21.8 MB / 0.9418 GB, free: 308 kB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.6927, allocations: 55.69 kB / 0.9418 GB, free: 252 kB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.6943, allocations: 1.165 MB / 0.943 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.6957, allocations: 0.8679 MB / 0.9438 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.6968, allocations: 441.5 kB / 0.9442 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.6981, allocations: 1.251 MB / 0.9455 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007057/0.6988, allocations: 0.5658 MB / 0.946 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006659/0.6995, allocations: 0.5607 MB / 0.9466 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.7005, allocations: 0.9216 MB / 0.9475 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.7006, allocations: 68 kB / 0.9475 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.7009, allocations: 108 kB / 0.9476 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.7012, allocations: 316.7 kB / 0.9479 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004403/0.7016, allocations: 488.8 kB / 0.9484 GB, free: 9.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.7029, allocations: 1.207 MB / 0.9496 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.7029, allocations: 0 / 0.9496 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7029, allocations: 0 / 0.9496 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.7029, allocations: 0 / 0.9496 GB, free: 8.301 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.002402/0.7053, allocations: 1.529 MB / 0.9511 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.7054, allocations: 8.031 kB / 0.9511 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.7056, allocations: 140 kB / 0.9512 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009419/0.7065, allocations: 0.6794 MB / 0.9519 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.7066, allocations: 78.69 kB / 0.952 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.805e-05/0.7067, allocations: 44 kB / 0.952 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.7078, allocations: 0.5145 MB / 0.9525 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.7078, allocations: 7.984 kB / 0.9525 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.7078, allocations: 16 kB / 0.9525 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.7079, allocations: 12 kB / 0.9525 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008956/0.7088, allocations: 411.7 kB / 0.9529 GB, free: 4.754 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.003794/0.7125, allocations: 2.724 MB / 0.9556 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009934/0.7135, allocations: 424 kB / 0.956 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006986/0.7142, allocations: 287.7 kB / 0.9563 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.7143, allocations: 8.312 kB / 0.9563 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005704/0.7148, allocations: 271.8 kB / 0.9565 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=44): time 2.104e-06/0.7148, allocations: 4 kB / 0.9565 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=44): time 0.3178/1.033, allocations: 1.149 MB / 0.9577 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/1.033, allocations: 63.98 kB / 0.9577 GB, free: 192.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/1.035, allocations: 1.763 MB / 0.9594 GB, free: 191.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/1.035, allocations: 38.66 kB / 0.9595 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/1.036, allocations: 0.5229 MB / 0.96 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/1.036, allocations: 157.7 kB / 0.9601 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/1.036, allocations: 103.3 kB / 0.9602 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.035e-05/1.036, allocations: 325.8 kB / 0.9606 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/1.037, allocations: 211.8 kB / 0.9608 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/1.037, allocations: 337.3 kB / 0.9611 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008666/1.038, allocations: 0.5081 MB / 0.9616 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.038, allocations: 1.766 kB / 0.9616 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001525/1.039, allocations: 0.8181 MB / 0.9624 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.039, allocations: 10.09 kB / 0.9624 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.04, allocations: 12.56 kB / 0.9624 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003991/1.04, allocations: 130.5 kB / 0.9625 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/1.04, allocations: 104.9 kB / 0.9626 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/1.043, allocations: 2.599 MB / 0.9652 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/1.043, allocations: 76.28 kB / 0.9652 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/1.043, allocations: 22.27 kB / 0.9652 GB, free: 187.7 MB / 0.7169 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.0004245/1.044, allocations: 385.9 kB / 0.9656 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/1.044, allocations: 122.1 kB / 0.9657 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/1.044, allocations: 139.4 kB / 0.9659 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.044, allocations: 7.844 kB / 0.9659 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/1.044, allocations: 7.828 kB / 0.9659 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.044, allocations: 2.016 kB / 0.9659 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/1.046, allocations: 1.475 MB / 0.9673 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.046, allocations: 8.234 kB / 0.9673 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/1.046, allocations: 41.81 kB / 0.9674 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000398/1.047, allocations: 166 kB / 0.9675 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/1.047, allocations: 14.12 kB / 0.9675 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002765/1.05, allocations: 4.038 MB / 0.9715 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.05, allocations: 3.938 kB / 0.9715 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/1.051, allocations: 0.9816 MB / 0.9724 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/1.051, allocations: 223.8 kB / 0.9727 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.174e-05/1.051, allocations: 16.09 kB / 0.9727 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/1.052, allocations: 28.56 kB / 0.9727 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/1.052, allocations: 57.91 kB / 0.9728 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/1.052, allocations: 13.75 kB / 0.9728 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001117/1.053, allocations: 1.285 MB / 0.974 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.053, allocations: 0 / 0.974 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006418/1.054, allocations: 205.4 kB / 0.9742 GB, free: 181.4 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,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.001609/1.055, allocations: 479.4 kB / 0.9747 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001144/1.056, allocations: 0.6454 MB / 0.9753 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.056, allocations: 192 / 0.9753 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006352/1.057, allocations: 0.5078 MB / 0.9758 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008721/1.058, allocations: 194.4 kB / 0.976 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/1.06, allocations: 2.405 MB / 0.9783 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/1.061, allocations: 1.153 MB / 0.9795 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002155/1.061, allocations: 96.78 kB / 0.9796 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.809e-05/1.061, allocations: 43.42 kB / 0.9796 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/1.061, allocations: 0 / 0.9796 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.01514/1.076, allocations: 10.25 MB / 0.9896 GB, free: 166.3 MB / 0.7169 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)