Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.00128/0.00128, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001398/0.001398, allocations: 191.6 kB / 16.13 MB, free: 6.715 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.255/1.255, allocations: 205.1 MB / 222 MB, free: 4.777 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.605/1.605, allocations: 292.3 MB / 0.5484 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.001405/0.001405, allocations: 64.38 kB / 0.6709 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1708, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4596/0.6304, allocations: 154.4 MB / 0.9336 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01715/0.6476, allocations: 21.43 MB / 0.9545 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.6492, allocations: 44.94 kB / 0.9546 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.6508, allocations: 1.127 MB / 0.9557 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.6519, allocations: 0.8112 MB / 0.9565 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007771/0.6527, allocations: 354.4 kB / 0.9568 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.6539, allocations: 1.346 MB / 0.9581 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007263/0.6546, allocations: 0.61 MB / 0.9587 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006482/0.6553, allocations: 0.4908 MB / 0.9592 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000872/0.6562, allocations: 0.9056 MB / 0.9601 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.503e-05/0.6563, allocations: 40.44 kB / 0.9601 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.6565, allocations: 81 kB / 0.9602 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.6567, allocations: 299.1 kB / 0.9605 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003438/0.6571, allocations: 468 kB / 0.9609 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007393/0.6578, allocations: 1.16 MB / 0.9621 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6578, allocations: 1.438 kB / 0.9621 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.92e-07/0.6579, allocations: 0 / 0.9621 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.6579, allocations: 0 / 0.9621 GB, free: 5.578 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.002041/0.6599, allocations: 1.468 MB / 0.9635 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.66, allocations: 12.52 kB / 0.9635 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.848e-05/0.6601, allocations: 83.28 kB / 0.9636 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.6602, allocations: 130.8 kB / 0.9637 GB, free: 20.6 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006783/0.6609, allocations: 0.6576 MB / 0.9644 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.661, allocations: 69.94 kB / 0.9644 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.25e-05/0.6611, allocations: 47.94 kB / 0.9645 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008413/0.6619, allocations: 0.5168 MB / 0.965 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.662, allocations: 4.562 kB / 0.965 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.662, allocations: 18.41 kB / 0.965 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.662, allocations: 9.781 kB / 0.965 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007685/0.6628, allocations: 412 kB / 0.9654 GB, free: 20.09 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.003009/0.6658, allocations: 2.797 MB / 0.9681 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009026/0.6667, allocations: 461.2 kB / 0.9686 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/0.6672, allocations: 284.5 kB / 0.9688 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.6673, allocations: 4.906 kB / 0.9689 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005033/0.6678, allocations: 307.4 kB / 0.9691 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=45): time 1.903e-06/0.6678, allocations: 0 / 0.9691 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.002706/0.6705, allocations: 1.233 MB / 0.9704 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.6706, allocations: 64.25 kB / 0.9704 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.6722, allocations: 1.749 MB / 0.9721 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.6722, allocations: 36.14 kB / 0.9722 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.6725, allocations: 0.5156 MB / 0.9727 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/0.6726, allocations: 145.9 kB / 0.9728 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.6728, allocations: 100.9 kB / 0.9729 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6729, allocations: 331.3 kB / 0.9732 GB, free: 17.35 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/0.6733, allocations: 221.7 kB / 0.9734 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.6738, allocations: 329.2 kB / 0.9737 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000794/0.6746, allocations: 0.5028 MB / 0.9742 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6746, allocations: 0 / 0.9742 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001427/0.676, allocations: 0.8574 MB / 0.9751 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6761, allocations: 5.5 kB / 0.9751 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.6761, allocations: 2.75 kB / 0.9751 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004711/0.6766, allocations: 182.2 kB / 0.9752 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.6769, allocations: 105.1 kB / 0.9753 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/0.6798, allocations: 2.741 MB / 0.978 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.6802, allocations: 82.31 kB / 0.9781 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.6803, allocations: 20.62 kB / 0.9781 GB, free: 15.55 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.0003859/0.6807, allocations: 381.5 kB / 0.9785 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.6808, allocations: 118.8 kB / 0.9786 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.681, allocations: 140.4 kB / 0.9787 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.681, allocations: 4.875 kB / 0.9787 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.681, allocations: 5.25 kB / 0.9787 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.681, allocations: 3.609 kB / 0.9787 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.6831, allocations: 1.565 MB / 0.9803 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6831, allocations: 0 / 0.9803 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.6834, allocations: 52.41 kB / 0.9803 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004237/0.6838, allocations: 191.7 kB / 0.9805 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.6838, allocations: 12.69 kB / 0.9805 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003505/0.6873, allocations: 4.13 MB / 0.9845 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6874, allocations: 1.312 kB / 0.9846 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.6889, allocations: 1.058 MB / 0.9856 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.6892, allocations: 217.3 kB / 0.9858 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.369e-05/0.6893, allocations: 11.97 kB / 0.9858 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.6896, allocations: 34.66 kB / 0.9858 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.6897, allocations: 52.11 kB / 0.9859 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.6898, allocations: 20.25 kB / 0.9859 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001089/0.6909, allocations: 1.277 MB / 0.9872 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.21e-07/0.6909, allocations: 0 / 0.9872 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006993/0.6916, allocations: 225.2 kB / 0.9874 GB, free: 11.56 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.002726/0.6943, allocations: 1.966 MB / 0.9893 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.6955, allocations: 0.7159 MB / 0.99 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6955, allocations: 0 / 0.99 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007331/0.6963, allocations: 0.5488 MB / 0.9905 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009194/0.6972, allocations: 197.3 kB / 0.9907 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.708, allocations: 9.388 MB / 0.9999 GB, free: 4.809 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/0.7087, allocations: 1.157 MB / 1.001 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002631/0.709, allocations: 90.55 kB / 1.001 GB, free: 4.023 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/0.7094, allocations: 397.7 kB / 1.001 GB, free: 3.699 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.7094, allocations: 0 / 1.001 GB, free: 3.699 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03241/0.7418, allocations: 20.09 MB / 1.021 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.742, allocations: 284.1 kB / 1.021 GB, free: 9.766 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/2.816, allocations: 0 / 1.021 GB, free: 9.766 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)