Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.408/1.408, allocations: 288.4 MB / 303.6 MB, free: 8.059 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000871/0.0008711, allocations: 179 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.132/1.132, allocations: 205.4 MB / 0.631 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006252/0.0006252, allocations: 94.36 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003196, allocations: 12 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.001564/0.1446, allocations: 1.72 MB / 0.9819 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000893/0.1455, allocations: 0.7296 MB / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.1456, allocations: 8 kB / 0.9826 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.771e-05/0.1457, allocations: 23.72 kB / 0.9826 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.691e-05/0.1458, allocations: 27.72 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.1461, allocations: 107.9 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.1464, allocations: 339.2 kB / 0.9831 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.1466, allocations: 204.5 kB / 0.9833 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1468, allocations: 99.61 kB / 0.9834 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1469, allocations: 111.5 kB / 0.9835 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.1469, allocations: 12 kB / 0.9835 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.218e-05/0.147, allocations: 23.98 kB / 0.9835 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.147, allocations: 63.64 kB / 0.9836 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.1471, allocations: 145.1 kB / 0.9837 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.1473, allocations: 287.2 kB / 0.984 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1473, allocations: 4 kB / 0.984 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1473, allocations: 0 / 0.984 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1473, allocations: 0 / 0.984 GB, free: 23.36 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0005563/0.1479, allocations: 0.5155 MB / 0.9845 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1479, allocations: 16.02 kB / 0.9845 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.056e-05/0.148, allocations: 62.67 kB / 0.9846 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.1481, allocations: 32.56 kB / 0.9846 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.1483, allocations: 267.8 kB / 0.9848 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.1483, allocations: 24.92 kB / 0.9849 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.1483, allocations: 32.38 kB / 0.9849 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.1488, allocations: 323.5 kB / 0.9852 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1488, allocations: 3.938 kB / 0.9852 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.1488, allocations: 12 kB / 0.9852 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.1488, allocations: 4 kB / 0.9852 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003844/0.1492, allocations: 242.1 kB / 0.9855 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.1503, allocations: 0.9597 MB / 0.9864 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.1507, allocations: 256.9 kB / 0.9866 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.1509, allocations: 121.3 kB / 0.9867 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1509, allocations: 4.234 kB / 0.9868 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002675/0.1512, allocations: 171.9 kB / 0.9869 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.1512, allocations: 0 / 0.9869 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0005337/0.1517, allocations: 329.4 kB / 0.9872 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.1517, allocations: 59.41 kB / 0.9873 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1519, allocations: 202.2 kB / 0.9875 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1519, allocations: 37.7 kB / 0.9875 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.152, allocations: 152.6 kB / 0.9877 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.152, allocations: 82.94 kB / 0.9877 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.152, allocations: 8 kB / 0.9877 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.224e-05/0.1521, allocations: 330.8 kB / 0.9881 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.1522, allocations: 95.95 kB / 0.9882 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.1524, allocations: 161 kB / 0.9883 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.1527, allocations: 224.7 kB / 0.9885 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1527, allocations: 0 / 0.9885 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004186/0.1532, allocations: 316.5 kB / 0.9888 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1532, allocations: 7.984 kB / 0.9888 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1532, allocations: 0 / 0.9888 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1532, allocations: 4 kB / 0.9888 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.1534, allocations: 39.92 kB / 0.9889 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1534, allocations: 7.984 kB / 0.9889 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.1536, allocations: 63.69 kB / 0.9889 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.1536, allocations: 12 kB / 0.989 GB, free: 17.98 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.1537, allocations: 173.6 kB / 0.9891 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.1538, allocations: 23.72 kB / 0.9891 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000426/0.1542, allocations: 284.1 kB / 0.9894 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.1542, allocations: 7.984 kB / 0.9894 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1542, allocations: 0 / 0.9894 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1542, allocations: 0 / 0.9894 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007552/0.155, allocations: 0.7444 MB / 0.9901 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.155, allocations: 0 / 0.9901 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.1551, allocations: 31.92 kB / 0.9902 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1551, allocations: 4 kB / 0.9902 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1552, allocations: 3.984 kB / 0.9902 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1552, allocations: 4 kB / 0.9902 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1552, allocations: 3.938 kB / 0.9902 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.1555, allocations: 363.6 kB / 0.9905 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/0.1556, allocations: 100.8 kB / 0.9906 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.1556, allocations: 12 kB / 0.9906 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.1558, allocations: 39.95 kB / 0.9907 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.1559, allocations: 43.88 kB / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1559, allocations: 4 kB / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.124e-05/0.156, allocations: 136.2 kB / 0.9909 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.156, allocations: 4 kB / 0.9909 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002642/0.1562, allocations: 71.83 kB / 0.9909 GB, free: 15.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005202/0.1568, allocations: 0.9053 MB / 0.9918 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003715/0.1572, allocations: 252.3 kB / 0.9921 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1572, allocations: 4 kB / 0.9921 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.1573, allocations: 136.1 kB / 0.9922 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.1577, allocations: 40.11 kB / 0.9922 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.1592, allocations: 1.42 MB / 0.9936 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.1594, allocations: 0.7644 MB / 0.9944 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.834e-05/0.1595, allocations: 34.27 kB / 0.9944 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.1596, allocations: 87.34 kB / 0.9945 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1596, allocations: 0 / 0.9945 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/0.1727, allocations: 4.965 MB / 0.9993 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001098/0.1729, allocations: 230.4 kB / 0.9995 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/1.909, allocations: 0 / 0.9995 GB, free: 7.113 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)