Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00114/0.00114, allocations: 188.8 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.105/1.105, allocations: 205.1 MB / 222.1 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.474/1.474, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 68.88 kB / 0.6711 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1774, allocations: 114.6 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.4599/0.6373, allocations: 154.6 MB / 0.9339 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.6571, allocations: 21.32 MB / 0.9547 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002799/0.66, allocations: 46.22 kB / 0.9548 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.6618, allocations: 1.127 MB / 0.9559 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.6633, allocations: 0.8171 MB / 0.9567 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.6644, allocations: 362 kB / 0.957 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.6658, allocations: 1.253 MB / 0.9582 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008798/0.6666, allocations: 0.6838 MB / 0.9589 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008355/0.6675, allocations: 0.553 MB / 0.9595 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.6685, allocations: 0.9527 MB / 0.9604 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.923e-05/0.6686, allocations: 65.03 kB / 0.9604 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.6689, allocations: 110 kB / 0.9605 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.6692, allocations: 338.1 kB / 0.9609 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.6695, allocations: 495.6 kB / 0.9613 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000875/0.6704, allocations: 1.179 MB / 0.9625 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6704, allocations: 0.8438 kB / 0.9625 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6704, allocations: 0 / 0.9625 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.6704, allocations: 1.531 kB / 0.9625 GB, free: 5.816 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00202/0.6725, allocations: 1.475 MB / 0.9639 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.6725, allocations: 10.31 kB / 0.9639 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.924e-05/0.6726, allocations: 81.77 kB / 0.964 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.6727, allocations: 131.5 kB / 0.9642 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.6734, allocations: 0.6495 MB / 0.9648 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.6735, allocations: 80.05 kB / 0.9649 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/0.6736, allocations: 45.16 kB / 0.9649 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/0.6745, allocations: 0.5125 MB / 0.9654 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.6745, allocations: 0.8438 kB / 0.9654 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.6746, allocations: 22.14 kB / 0.9654 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.6746, allocations: 10.53 kB / 0.9654 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007235/0.6753, allocations: 412.5 kB / 0.9658 GB, free: 20.35 MB / 0.7481 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.002947/0.6783, allocations: 2.799 MB / 0.9686 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008448/0.6791, allocations: 466.2 kB / 0.969 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004608/0.6796, allocations: 284.5 kB / 0.9693 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.6796, allocations: 4.844 kB / 0.9693 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004722/0.6801, allocations: 305.3 kB / 0.9696 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=45): time 2.014e-06/0.6801, allocations: 0.9375 kB / 0.9696 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.002575/0.6827, allocations: 1.233 MB / 0.9708 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.6828, allocations: 63.09 kB / 0.9708 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.6843, allocations: 1.754 MB / 0.9726 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.6844, allocations: 37.2 kB / 0.9726 GB, free: 18.19 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.6847, allocations: 0.5139 MB / 0.9731 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.353e-05/0.6848, allocations: 146.1 kB / 0.9732 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.6849, allocations: 102.6 kB / 0.9733 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.685, allocations: 328.9 kB / 0.9736 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.6854, allocations: 215.5 kB / 0.9738 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.6858, allocations: 330.2 kB / 0.9742 GB, free: 17.53 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007491/0.6866, allocations: 0.508 MB / 0.9747 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6866, allocations: 1.906 kB / 0.9747 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001396/0.688, allocations: 0.8564 MB / 0.9755 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.688, allocations: 6.875 kB / 0.9755 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6881, allocations: 3.562 kB / 0.9755 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004552/0.6885, allocations: 184.9 kB / 0.9757 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.6888, allocations: 93.75 kB / 0.9758 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/0.692, allocations: 3.002 MB / 0.9787 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.6925, allocations: 85.38 kB / 0.9788 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.6925, allocations: 22.03 kB / 0.9788 GB, free: 15.72 MB / 0.7481 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,$PRE.mean.y,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.0004923/0.693, allocations: 379.8 kB / 0.9792 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/0.6931, allocations: 117.3 kB / 0.9793 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.6933, allocations: 141.2 kB / 0.9794 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6933, allocations: 5.75 kB / 0.9794 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.6933, allocations: 2.406 kB / 0.9794 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.6933, allocations: 6.609 kB / 0.9794 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.6953, allocations: 1.569 MB / 0.981 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6953, allocations: 2.859 kB / 0.981 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.6955, allocations: 41.17 kB / 0.981 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003868/0.6959, allocations: 199.5 kB / 0.9812 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.6959, allocations: 13.98 kB / 0.9812 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003613/0.6996, allocations: 4.546 MB / 0.9856 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6996, allocations: 0 / 0.9856 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.7011, allocations: 1.062 MB / 0.9867 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.7014, allocations: 223.3 kB / 0.9869 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/0.7014, allocations: 11.22 kB / 0.9869 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.7018, allocations: 33.98 kB / 0.9869 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.7019, allocations: 51.36 kB / 0.987 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.7019, allocations: 18.08 kB / 0.987 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001089/0.703, allocations: 1.278 MB / 0.9883 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.703, allocations: 0 / 0.9883 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007395/0.7038, allocations: 209.1 kB / 0.9885 GB, free: 11.14 MB / 0.7481 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) * 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.002582/0.7064, allocations: 1.999 MB / 0.9904 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.7077, allocations: 0.7571 MB / 0.9911 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7077, allocations: 1 kB / 0.9911 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006942/0.7084, allocations: 0.5432 MB / 0.9917 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008764/0.7093, allocations: 202.2 kB / 0.9919 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.72, allocations: 9.393 MB / 1.001 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/0.7206, allocations: 1.153 MB / 1.002 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002902/0.7209, allocations: 84.94 kB / 1.002 GB, free: 3.613 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/0.7213, allocations: 400.5 kB / 1.003 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of SimCode: time 1.062e-06/0.7213, allocations: 0 / 1.003 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.956/3.677, allocations: 20.52 MB / 1.023 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003413/3.678, allocations: 285.8 kB / 1.023 GB, free: 9.656 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/5.728, allocations: 4.062 kB / 1.023 GB, free: 9.652 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)