Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.TestCase1,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.001075/0.001075, 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.001132/0.001132, allocations: 193.3 kB / 16.25 MB, free: 6.625 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.181/1.181, allocations: 205.1 MB / 222.1 MB, free: 4.664 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.507/1.507, allocations: 292.3 MB / 0.5486 GB, free: 13.67 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.001462/0.001462, allocations: 61.81 kB / 0.6711 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1754, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4563/0.6317, allocations: 154.6 MB / 0.9339 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01757/0.6494, allocations: 21.32 MB / 0.9547 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.6513, allocations: 45.16 kB / 0.9548 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.653, allocations: 1.136 MB / 0.9559 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.6543, allocations: 0.8091 MB / 0.9567 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009097/0.6552, allocations: 360.8 kB / 0.957 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.6564, allocations: 1.244 MB / 0.9582 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008162/0.6572, allocations: 0.6875 MB / 0.9589 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007663/0.658, allocations: 0.5564 MB / 0.9594 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009815/0.6589, allocations: 0.9505 MB / 0.9604 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.988e-05/0.6591, allocations: 65.66 kB / 0.9604 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.6593, allocations: 114.8 kB / 0.9605 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.6595, allocations: 330.4 kB / 0.9609 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.6599, allocations: 495.7 kB / 0.9613 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008648/0.6608, allocations: 1.183 MB / 0.9625 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.6608, allocations: 0.9062 kB / 0.9625 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6608, allocations: 1.406 kB / 0.9625 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.6608, allocations: 0 / 0.9625 GB, free: 5.781 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.001977/0.6628, allocations: 1.469 MB / 0.9639 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.6628, allocations: 10.88 kB / 0.9639 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.052e-05/0.6629, allocations: 85.14 kB / 0.964 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.6631, allocations: 132.2 kB / 0.9641 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.6637, allocations: 0.6511 MB / 0.9648 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.6638, allocations: 72.58 kB / 0.9649 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.142e-05/0.6639, allocations: 50.12 kB / 0.9649 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000799/0.6647, allocations: 0.5108 MB / 0.9654 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.6648, allocations: 6.078 kB / 0.9654 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.6648, allocations: 22.67 kB / 0.9654 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.6648, allocations: 9.406 kB / 0.9654 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007145/0.6655, allocations: 409.4 kB / 0.9658 GB, free: 20.31 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.002855/0.6684, allocations: 2.727 MB / 0.9685 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/0.6692, allocations: 446.7 kB / 0.9689 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/0.6698, allocations: 309.4 kB / 0.9692 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.6698, allocations: 5.125 kB / 0.9692 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004804/0.6703, allocations: 287.3 kB / 0.9695 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 2.985e-06/0.6703, allocations: 2.344 kB / 0.9695 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.002454/0.6728, allocations: 1.152 MB / 0.9706 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.6729, allocations: 56.97 kB / 0.9707 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.6745, allocations: 1.765 MB / 0.9724 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.6746, allocations: 36.39 kB / 0.9724 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.6749, allocations: 0.529 MB / 0.9729 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.828e-05/0.675, allocations: 140 kB / 0.9731 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.6752, allocations: 103.3 kB / 0.9732 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.6753, allocations: 329.4 kB / 0.9735 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004067/0.6757, allocations: 211.7 kB / 0.9737 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.6761, allocations: 337 kB / 0.974 GB, free: 17.53 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007384/0.6769, allocations: 0.5094 MB / 0.9745 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6769, allocations: 0.875 kB / 0.9745 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001332/0.6782, allocations: 0.8135 MB / 0.9753 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.6782, allocations: 14.56 kB / 0.9753 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6783, allocations: 4.125 kB / 0.9753 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003479/0.6786, allocations: 139.6 kB / 0.9755 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.679, allocations: 103 kB / 0.9756 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.6813, allocations: 2.603 MB / 0.9781 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.6818, allocations: 84.83 kB / 0.9782 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.6818, allocations: 21.38 kB / 0.9782 GB, free: 15.71 MB / 0.7481 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,$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 (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.0005114/0.6824, allocations: 383.6 kB / 0.9786 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.6825, allocations: 113.2 kB / 0.9787 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.6827, allocations: 145.5 kB / 0.9788 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.6827, allocations: 9.375 kB / 0.9788 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.6827, allocations: 6.688 kB / 0.9788 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6827, allocations: 0 / 0.9788 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.6846, allocations: 1.493 MB / 0.9803 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6846, allocations: 0 / 0.9803 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.6848, allocations: 45.91 kB / 0.9803 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003363/0.6852, allocations: 170.7 kB / 0.9805 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.6852, allocations: 9.766 kB / 0.9805 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/0.6881, allocations: 4.02 MB / 0.9844 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.6882, allocations: 3.938 kB / 0.9844 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.6895, allocations: 0.9922 MB / 0.9854 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.6897, allocations: 207.4 kB / 0.9856 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/0.6898, allocations: 11.16 kB / 0.9856 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.6901, allocations: 48.94 kB / 0.9857 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.6903, allocations: 50.41 kB / 0.9857 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.6903, allocations: 17.86 kB / 0.9857 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001106/0.6914, allocations: 1.289 MB / 0.987 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6914, allocations: 0 / 0.987 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006472/0.6921, allocations: 197.6 kB / 0.9872 GB, free: 11.72 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,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.002464/0.6945, allocations: 1.911 MB / 0.989 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.6957, allocations: 0.6957 MB / 0.9897 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6958, allocations: 4.562 kB / 0.9897 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006391/0.6964, allocations: 0.5293 MB / 0.9902 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008784/0.6973, allocations: 201.2 kB / 0.9904 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.7077, allocations: 9.315 MB / 0.9995 GB, free: 5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.7083, allocations: 1.154 MB / 1.001 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002795/0.7086, allocations: 95.66 kB / 1.001 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/0.709, allocations: 401.7 kB / 1.001 GB, free: 3.887 MB / 0.7481 GB Notification: Performance of SimCode: time 5.51e-07/0.709, allocations: 0 / 1.001 GB, free: 3.887 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.428/2.137, allocations: 20.13 MB / 1.021 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004462/2.137, allocations: 284.9 kB / 1.021 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/4.333, allocations: 11.17 kB / 1.021 GB, free: 11.55 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)