Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.627/2.627, allocations: 287.3 MB / 302.3 MB, free: 8.227 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.001627/0.001627, allocations: 173 kB / 370.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.597/2.597, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001152/0.001152, allocations: 114.4 kB / 0.7428 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004975, allocations: 13.53 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2158, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002459/0.2183, allocations: 1.712 MB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.2198, allocations: 0.7221 MB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.22, allocations: 4 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.2201, allocations: 27.73 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.2202, allocations: 39.86 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.2207, allocations: 99.88 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.221, allocations: 223.6 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/0.2214, allocations: 187 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.2216, allocations: 103.6 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.2218, allocations: 111.5 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.2218, allocations: 15.94 kB / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.751e-05/0.2219, allocations: 27.92 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.915e-05/0.222, allocations: 47.83 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.2221, allocations: 69.52 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.2224, allocations: 299.5 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2225, allocations: 0 / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.305e-06/0.2225, allocations: 0 / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2225, allocations: 0 / 0.9819 GB, free: 24.57 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.0009184/0.2234, allocations: 0.524 MB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2235, allocations: 8.031 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.107e-05/0.2236, allocations: 66.53 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.2237, allocations: 31.67 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.224, allocations: 275 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.2241, allocations: 28.48 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.506e-05/0.2241, allocations: 36 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007653/0.2249, allocations: 307.7 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.225, allocations: 0 / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.013e-05/0.225, allocations: 12 kB / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.225, allocations: 8 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007302/0.2258, allocations: 246 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.2276, allocations: 0.9558 MB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000728/0.2283, allocations: 251.6 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.2284, allocations: 4.234 kB / 0.9845 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.2288, allocations: 163.5 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 2.855e-06/0.2288, allocations: 0 / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0009965/0.2298, allocations: 337.2 kB / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.2299, allocations: 59.41 kB / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.2301, allocations: 202.1 kB / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.2302, allocations: 41.69 kB / 0.9853 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.914e-05/0.2303, allocations: 152.6 kB / 0.9854 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.2304, allocations: 78.95 kB / 0.9855 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.2304, allocations: 8 kB / 0.9855 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.2305, allocations: 338.8 kB / 0.9858 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.2308, allocations: 95.95 kB / 0.9859 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.2311, allocations: 149.1 kB / 0.9861 GB, free: 20 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.2315, allocations: 95.73 kB / 0.9862 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2315, allocations: 0 / 0.9862 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000795/0.2323, allocations: 312.7 kB / 0.9865 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2323, allocations: 7.938 kB / 0.9865 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2323, allocations: 4 kB / 0.9865 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2324, allocations: 4 kB / 0.9865 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.2327, allocations: 44.08 kB / 0.9865 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2327, allocations: 7.922 kB / 0.9865 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.2331, allocations: 51.72 kB / 0.9866 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.2331, allocations: 12 kB / 0.9866 GB, free: 19.47 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.0002054/0.2334, allocations: 177.7 kB / 0.9868 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.2334, allocations: 27.72 kB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007694/0.2342, allocations: 280.1 kB / 0.9871 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.2342, allocations: 7.984 kB / 0.9871 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2342, allocations: 4 kB / 0.9871 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.2342, allocations: 0 / 0.9871 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.2357, allocations: 0.7405 MB / 0.9878 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2357, allocations: 4 kB / 0.9878 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.2359, allocations: 27.98 kB / 0.9878 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.236, allocations: 4 kB / 0.9878 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.236, allocations: 11.92 kB / 0.9878 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.236, allocations: 4 kB / 0.9878 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.236, allocations: 3.953 kB / 0.9878 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.2367, allocations: 355.7 kB / 0.9882 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.2368, allocations: 104.8 kB / 0.9883 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.2368, allocations: 11.98 kB / 0.9883 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.2372, allocations: 35.97 kB / 0.9883 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.2373, allocations: 39.89 kB / 0.9884 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.2374, allocations: 12 kB / 0.9884 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001159/0.2375, allocations: 140.1 kB / 0.9885 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.2e-07/0.2375, allocations: 0 / 0.9885 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004476/0.238, allocations: 59.84 kB / 0.9886 GB, free: 17.34 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.0009461/0.2389, allocations: 0.9053 MB / 0.9895 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007447/0.2397, allocations: 260.3 kB / 0.9897 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2397, allocations: 0 / 0.9897 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.2401, allocations: 131.8 kB / 0.9898 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.2404, allocations: 28.48 kB / 0.9899 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.2434, allocations: 2.189 MB / 0.992 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.2437, allocations: 0.7683 MB / 0.9927 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001887/0.2439, allocations: 34.27 kB / 0.9928 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.2441, allocations: 80.66 kB / 0.9929 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.2441, allocations: 4 kB / 0.9929 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.2707, allocations: 4.93 MB / 0.9977 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/0.271, allocations: 219.4 kB / 0.9979 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/2.877, allocations: 0 / 0.9979 GB, free: 7.836 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)