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.001145/0.001145, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001147/0.001147, allocations: 193.5 kB / 16.25 MB, free: 6.629 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.684 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.611/1.611, allocations: 292.3 MB / 0.5486 GB, free: 13.57 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.001372/0.001372, allocations: 66.25 kB / 0.6711 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1662, allocations: 114.5 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4536/0.6198, allocations: 154.6 MB / 0.9339 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.6364, allocations: 21.32 MB / 0.9547 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.6378, allocations: 45.84 kB / 0.9548 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.6395, allocations: 1.129 MB / 0.9559 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.6407, allocations: 0.816 MB / 0.9567 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008195/0.6415, allocations: 357.5 kB / 0.957 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.6426, allocations: 1.25 MB / 0.9582 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008004/0.6434, allocations: 0.6877 MB / 0.9589 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006843/0.6441, allocations: 0.5532 MB / 0.9594 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009334/0.645, allocations: 0.9542 MB / 0.9604 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.817e-05/0.6451, allocations: 65.69 kB / 0.9604 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.6454, allocations: 108.6 kB / 0.9605 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.6456, allocations: 335.9 kB / 0.9609 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003321/0.6459, allocations: 490.4 kB / 0.9613 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008124/0.6468, allocations: 1.181 MB / 0.9625 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6468, allocations: 0 / 0.9625 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6468, allocations: 0.7188 kB / 0.9625 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.6468, allocations: 1.062 kB / 0.9625 GB, free: 5.797 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.001987/0.6488, allocations: 1.472 MB / 0.9639 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.6488, allocations: 15.34 kB / 0.9639 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.413e-05/0.6489, allocations: 78.89 kB / 0.964 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.6491, allocations: 131 kB / 0.9641 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/0.6497, allocations: 0.6557 MB / 0.9648 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.6499, allocations: 74.91 kB / 0.9649 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.6499, allocations: 47.91 kB / 0.9649 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008318/0.6508, allocations: 0.5186 MB / 0.9654 GB, free: 20.33 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.6508, allocations: 1.125 kB / 0.9654 GB, free: 20.33 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.6509, allocations: 16.36 kB / 0.9654 GB, free: 20.33 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.6509, allocations: 10.28 kB / 0.9654 GB, free: 20.33 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.6516, allocations: 413 kB / 0.9658 GB, free: 20.33 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.002956/0.6546, allocations: 2.799 MB / 0.9686 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008925/0.6555, allocations: 463.7 kB / 0.969 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004879/0.656, allocations: 288.1 kB / 0.9693 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.656, allocations: 6.375 kB / 0.9693 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004977/0.6565, allocations: 303.7 kB / 0.9696 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=45): time 2.104e-06/0.6566, allocations: 1.062 kB / 0.9696 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.002683/0.6593, allocations: 1.236 MB / 0.9708 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.6593, allocations: 58.06 kB / 0.9708 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.6609, allocations: 1.749 MB / 0.9725 GB, free: 18.2 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.6609, allocations: 38.14 kB / 0.9726 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/0.6612, allocations: 0.5168 MB / 0.9731 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.611e-05/0.6613, allocations: 145.8 kB / 0.9732 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.6615, allocations: 102.3 kB / 0.9733 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.6616, allocations: 329.2 kB / 0.9736 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/0.662, allocations: 219.1 kB / 0.9738 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.6625, allocations: 330.1 kB / 0.9742 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007773/0.6632, allocations: 0.5079 MB / 0.9747 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6633, allocations: 1.469 kB / 0.9747 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001389/0.6647, allocations: 0.8548 MB / 0.9755 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.6647, allocations: 7.844 kB / 0.9755 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.6647, allocations: 1.562 kB / 0.9755 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000468/0.6652, allocations: 185.3 kB / 0.9757 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.6655, allocations: 96.53 kB / 0.9758 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/0.6686, allocations: 3.007 MB / 0.9787 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/0.669, allocations: 80.48 kB / 0.9788 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.669, allocations: 26.16 kB / 0.9788 GB, free: 15.7 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.0003532/0.6694, allocations: 380.9 kB / 0.9792 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.913e-05/0.6695, allocations: 115.7 kB / 0.9793 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.6697, allocations: 141.5 kB / 0.9794 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.6697, allocations: 4.469 kB / 0.9794 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.6697, allocations: 7.875 kB / 0.9794 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6697, allocations: 0 / 0.9794 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.6717, allocations: 1.564 MB / 0.981 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.6717, allocations: 1.031 kB / 0.981 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.6719, allocations: 45.11 kB / 0.981 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003955/0.6723, allocations: 196.4 kB / 0.9812 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.6724, allocations: 17.72 kB / 0.9812 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00359/0.676, allocations: 4.553 MB / 0.9856 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.676, allocations: 1.062 kB / 0.9856 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.6776, allocations: 1.061 MB / 0.9867 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.6778, allocations: 215.8 kB / 0.9869 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.863e-05/0.6779, allocations: 14.41 kB / 0.9869 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.6782, allocations: 34.27 kB / 0.9869 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.6784, allocations: 55 kB / 0.987 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.6784, allocations: 14.7 kB / 0.987 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009802/0.6794, allocations: 1.282 MB / 0.9883 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6794, allocations: 0.8125 kB / 0.9883 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006681/0.6801, allocations: 213.5 kB / 0.9885 GB, free: 11.13 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.00264/0.6827, allocations: 1.993 MB / 0.9904 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.684, allocations: 0.7585 MB / 0.9911 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.684, allocations: 2.688 kB / 0.9911 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007203/0.6847, allocations: 0.5429 MB / 0.9917 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009038/0.6857, allocations: 199.3 kB / 0.9919 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.6962, allocations: 9.39 MB / 1.001 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.6968, allocations: 1.159 MB / 1.002 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002512/0.6971, allocations: 82.83 kB / 1.002 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.6975, allocations: 401.7 kB / 1.003 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.6975, allocations: 0 / 1.003 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.462/2.16, allocations: 20.52 MB / 1.023 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/2.16, allocations: 285.9 kB / 1.023 GB, free: 9.645 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/4.28, allocations: 0 / 1.023 GB, free: 9.645 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)