Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 108.8 kB / 16.41 MB, free: 6.473 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.001841/0.001841, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.00255, allocations: 294.1 kB / 291.5 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.047/1.047, allocations: 169.3 MB / 0.499 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004412/0.004412, allocations: 87.86 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4097, allocations: 86.98 MB / 0.767 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1864/0.5962, allocations: 157.4 MB / 0.9208 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02713/0.6233, allocations: 21.92 MB / 0.9422 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.6249, allocations: 55.69 kB / 0.9423 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.6268, allocations: 1.34 MB / 0.9436 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.6283, allocations: 0.9926 MB / 0.9445 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.6295, allocations: 0.5032 MB / 0.945 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.6311, allocations: 1.438 MB / 0.9464 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008204/0.6319, allocations: 0.6445 MB / 0.9471 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007651/0.6327, allocations: 0.6542 MB / 0.9477 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.6339, allocations: 1.102 MB / 0.9488 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.634, allocations: 75.94 kB / 0.9488 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.6343, allocations: 124 kB / 0.949 GB, free: 8.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.6346, allocations: 372.5 kB / 0.9493 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004751/0.635, allocations: 0.5549 MB / 0.9499 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.6366, allocations: 1.375 MB / 0.9512 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6366, allocations: 0 / 0.9512 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6366, allocations: 0 / 0.9512 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.6367, allocations: 0 / 0.9512 GB, free: 6.562 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00272/0.6394, allocations: 1.732 MB / 0.9529 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.6394, allocations: 12.03 kB / 0.9529 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.6397, allocations: 167.9 kB / 0.9531 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.6408, allocations: 0.7724 MB / 0.9538 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.6409, allocations: 74.69 kB / 0.9539 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.641, allocations: 52 kB / 0.9539 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.6422, allocations: 0.573 MB / 0.9545 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.6422, allocations: 0 / 0.9545 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.588e-05/0.6422, allocations: 23.98 kB / 0.9545 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.6423, allocations: 12 kB / 0.9545 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009556/0.6432, allocations: 451.7 kB / 0.955 GB, free: 2.582 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.3414/0.9846, allocations: 2.989 MB / 0.9579 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.9859, allocations: 473.5 kB / 0.9583 GB, free: 191.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007107/0.9866, allocations: 290.6 kB / 0.9586 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/0.9867, allocations: 6.719 kB / 0.9586 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007147/0.9874, allocations: 332.3 kB / 0.9589 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 3.236e-06/0.9874, allocations: 1.297 kB / 0.9589 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.003476/0.9909, allocations: 1.35 MB / 0.9603 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.9909, allocations: 65.41 kB / 0.9603 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.993, allocations: 2.113 MB / 0.9624 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.9931, allocations: 39.89 kB / 0.9624 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/0.9935, allocations: 0.6277 MB / 0.963 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.9936, allocations: 180 kB / 0.9632 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.9938, allocations: 103.6 kB / 0.9633 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.544e-05/0.9938, allocations: 332.2 kB / 0.9636 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004934/0.9943, allocations: 234 kB / 0.9638 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.9948, allocations: 340.6 kB / 0.9642 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009626/0.9958, allocations: 0.5479 MB / 0.9647 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.9958, allocations: 9.172 kB / 0.9647 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001683/0.9975, allocations: 0.9201 MB / 0.9656 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.9975, allocations: 5.5 kB / 0.9656 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.9975, allocations: 4.125 kB / 0.9656 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005112/0.998, allocations: 191.9 kB / 0.9658 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.9984, allocations: 106.4 kB / 0.9659 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/1.001, allocations: 3.051 MB / 0.9689 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/1.002, allocations: 87.66 kB / 0.969 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/1.002, allocations: 20.61 kB / 0.969 GB, free: 185.5 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: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004684/1.002, allocations: 437.6 kB / 0.9694 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/1.002, allocations: 149.1 kB / 0.9695 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/1.003, allocations: 166.8 kB / 0.9697 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.003, allocations: 3.625 kB / 0.9697 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.003, allocations: 7.562 kB / 0.9697 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.003, allocations: 3.719 kB / 0.9697 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/1.005, allocations: 1.726 MB / 0.9714 GB, free: 184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.005, allocations: 0 / 0.9714 GB, free: 184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/1.005, allocations: 49.73 kB / 0.9715 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004036/1.006, allocations: 201 kB / 0.9716 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/1.006, allocations: 18.94 kB / 0.9717 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003065/1.009, allocations: 4.616 MB / 0.9762 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.009, allocations: 0 / 0.9762 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/1.01, allocations: 1.158 MB / 0.9773 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/1.011, allocations: 245.3 kB / 0.9775 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.981e-05/1.011, allocations: 15.98 kB / 0.9776 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/1.011, allocations: 35.91 kB / 0.9776 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/1.011, allocations: 60.3 kB / 0.9776 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/1.011, allocations: 23.98 kB / 0.9777 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001128/1.012, allocations: 1.545 MB / 0.9792 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.012, allocations: 0 / 0.9792 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007321/1.013, allocations: 229 kB / 0.9794 GB, free: 175.7 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.001628/1.015, allocations: 495 kB / 0.9799 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001391/1.016, allocations: 0.7358 MB / 0.9806 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.016, allocations: 0 / 0.9806 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007667/1.017, allocations: 0.5643 MB / 0.9811 GB, free: 174.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/1.018, allocations: 228.4 kB / 0.9814 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/1.021, allocations: 2.822 MB / 0.9841 GB, free: 171 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/1.022, allocations: 1.245 MB / 0.9853 GB, free: 169.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002583/1.022, allocations: 97.09 kB / 0.9854 GB, free: 169.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/1.022, allocations: 59.42 kB / 0.9855 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/1.022, allocations: 0 / 0.9855 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.01751/1.039, allocations: 11.69 MB / 0.9969 GB, free: 158.1 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)