Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001349/0.001349, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001509/0.001509, allocations: 194.4 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.22/1.22, allocations: 205.1 MB / 222.1 MB, free: 4.648 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.577/1.577, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.00135/0.00135, allocations: 64.36 kB / 0.6711 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1648, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.4502/0.6151, allocations: 154.6 MB / 0.9339 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01577/0.6309, allocations: 21.31 MB / 0.9547 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.6323, allocations: 46.28 kB / 0.9548 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.6338, allocations: 1.132 MB / 0.9559 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.6349, allocations: 0.8155 MB / 0.9567 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007256/0.6356, allocations: 357.2 kB / 0.957 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009979/0.6367, allocations: 1.244 MB / 0.9582 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007487/0.6374, allocations: 0.6896 MB / 0.9589 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006367/0.6381, allocations: 0.5552 MB / 0.9594 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008574/0.6389, allocations: 0.9489 MB / 0.9604 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.934e-05/0.639, allocations: 64.06 kB / 0.9604 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.6392, allocations: 117.3 kB / 0.9605 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.6394, allocations: 331.1 kB / 0.9609 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.6398, allocations: 499.6 kB / 0.9613 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007384/0.6405, allocations: 1.176 MB / 0.9625 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.6405, allocations: 4.469 kB / 0.9625 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6405, allocations: 1.344 kB / 0.9625 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.6405, allocations: 0 / 0.9625 GB, free: 5.73 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.001843/0.6424, allocations: 1.47 MB / 0.9639 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.6424, allocations: 8.969 kB / 0.9639 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.644e-05/0.6425, allocations: 84.97 kB / 0.964 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.6426, allocations: 134.8 kB / 0.9641 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005885/0.6432, allocations: 0.6535 MB / 0.9648 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.6434, allocations: 71.2 kB / 0.9649 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.6434, allocations: 44.69 kB / 0.9649 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007654/0.6442, allocations: 0.5181 MB / 0.9654 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.6442, allocations: 5.031 kB / 0.9654 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.6443, allocations: 18.47 kB / 0.9654 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.6443, allocations: 11.59 kB / 0.9654 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006828/0.645, allocations: 411.2 kB / 0.9658 GB, free: 20.26 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.002652/0.6476, allocations: 2.723 MB / 0.9685 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007671/0.6484, allocations: 444.4 kB / 0.9689 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005147/0.6489, allocations: 315 kB / 0.9692 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.649, allocations: 9.438 kB / 0.9692 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000445/0.6494, allocations: 289.8 kB / 0.9695 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 1.843e-06/0.6494, allocations: 2.219 kB / 0.9695 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.0022/0.6516, allocations: 1.137 MB / 0.9706 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.6517, allocations: 63.56 kB / 0.9707 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.6532, allocations: 1.758 MB / 0.9724 GB, free: 18.2 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.6532, allocations: 40.42 kB / 0.9724 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.6535, allocations: 0.5341 MB / 0.9729 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/0.6536, allocations: 136.9 kB / 0.9731 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.6537, allocations: 104.8 kB / 0.9732 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.6538, allocations: 327.5 kB / 0.9735 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/0.6542, allocations: 213.9 kB / 0.9737 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004252/0.6546, allocations: 335.8 kB / 0.974 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/0.6553, allocations: 0.5096 MB / 0.9745 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6554, allocations: 2.25 kB / 0.9745 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001224/0.6566, allocations: 0.8139 MB / 0.9753 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6566, allocations: 11.41 kB / 0.9753 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6566, allocations: 4.125 kB / 0.9753 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003336/0.657, allocations: 138.4 kB / 0.9755 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.6573, allocations: 103.5 kB / 0.9756 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.6596, allocations: 2.608 MB / 0.9781 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.66, allocations: 85.34 kB / 0.9782 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.66, allocations: 20.31 kB / 0.9782 GB, free: 15.66 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.0003569/0.6604, allocations: 388.4 kB / 0.9786 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/0.6605, allocations: 114 kB / 0.9787 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.6607, allocations: 145.9 kB / 0.9788 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.6607, allocations: 2.375 kB / 0.9788 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6607, allocations: 3.531 kB / 0.9788 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.6607, allocations: 3.094 kB / 0.9788 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.6625, allocations: 1.497 MB / 0.9803 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.6626, allocations: 0 / 0.9803 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.6628, allocations: 45.16 kB / 0.9803 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003183/0.6631, allocations: 162.1 kB / 0.9805 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.6631, allocations: 13.56 kB / 0.9805 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002822/0.666, allocations: 4.029 MB / 0.9844 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.666, allocations: 0 / 0.9844 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.6674, allocations: 0.9875 MB / 0.9854 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.6676, allocations: 206.8 kB / 0.9856 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-05/0.6676, allocations: 18.91 kB / 0.9856 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.668, allocations: 46.69 kB / 0.9857 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.6681, allocations: 46.64 kB / 0.9857 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.6681, allocations: 17.25 kB / 0.9857 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001038/0.6692, allocations: 1.289 MB / 0.987 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6692, allocations: 1 kB / 0.987 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006096/0.6698, allocations: 196.9 kB / 0.9872 GB, free: 11.7 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.002486/0.6723, allocations: 1.913 MB / 0.989 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.6734, allocations: 0.7005 MB / 0.9897 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6734, allocations: 1 kB / 0.9897 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.6741, allocations: 0.5319 MB / 0.9902 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/0.6749, allocations: 196.9 kB / 0.9904 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009756/0.6847, allocations: 9.324 MB / 0.9995 GB, free: 5.004 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005747/0.6853, allocations: 1.145 MB / 1.001 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002536/0.6856, allocations: 96.64 kB / 1.001 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003796/0.6859, allocations: 402.9 kB / 1.001 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.686, allocations: 4 kB / 1.001 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4359/1.122, allocations: 20.12 MB / 1.021 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/1.122, allocations: 284.8 kB / 1.021 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/3.207, allocations: 2.906 kB / 1.021 GB, free: 11.6 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)