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.669/2.669, allocations: 287.5 MB / 302.4 MB, free: 8.359 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.001354/0.001354, allocations: 182 kB / 371 MB, free: 10.88 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.079/2.079, allocations: 205.4 MB / 0.6297 GB, free: 10.53 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.001263/0.001263, allocations: 88.73 kB / 0.743 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004993, allocations: 11.7 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2505, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003707/0.2543, allocations: 1.712 MB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.2567, allocations: 0.7259 MB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.257, allocations: 7.938 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.2573, allocations: 23.78 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.2575, allocations: 31.72 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007496/0.2582, allocations: 107.9 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006771/0.259, allocations: 343.2 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005752/0.2596, allocations: 187 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.2598, allocations: 103.6 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.2601, allocations: 111.4 kB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.075e-05/0.2602, allocations: 12 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.2604, allocations: 19.98 kB / 0.9817 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2605, allocations: 55.77 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.52e-05/0.2606, allocations: 77.45 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.2612, allocations: 299.5 kB / 0.9822 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.495e-06/0.2612, allocations: 0 / 0.9822 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2613, allocations: 0 / 0.9822 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.2613, allocations: 0 / 0.9822 GB, free: 24.44 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.00136/0.2627, allocations: 0.522 MB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.2627, allocations: 12.03 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.2629, allocations: 58.55 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.263, allocations: 35.66 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/0.2635, allocations: 271 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/0.2636, allocations: 20.56 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-05/0.2637, allocations: 32 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.2649, allocations: 315.7 kB / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.265, allocations: 3.938 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/0.2651, allocations: 12 kB / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.2651, allocations: 8 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.2663, allocations: 242 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.2692, allocations: 0.952 MB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.2704, allocations: 247.6 kB / 0.9848 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/0.2709, allocations: 121.2 kB / 0.9849 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.945e-05/0.271, allocations: 8.234 kB / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006635/0.2716, allocations: 163.5 kB / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 5.55e-06/0.2717, allocations: 0 / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.001563/0.2732, allocations: 333.3 kB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.2733, allocations: 63.39 kB / 0.9855 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.2737, allocations: 206.1 kB / 0.9857 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.2738, allocations: 41.64 kB / 0.9857 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.274, allocations: 152.6 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.2741, allocations: 78.94 kB / 0.9859 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.2742, allocations: 16 kB / 0.9859 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2743, allocations: 330.8 kB / 0.9862 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.2748, allocations: 95.95 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.2753, allocations: 157.1 kB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.2759, allocations: 99.73 kB / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.2759, allocations: 0 / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001286/0.2772, allocations: 308.7 kB / 0.9869 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.2773, allocations: 5.875 kB / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.2773, allocations: 0 / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.2774, allocations: 4 kB / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.2779, allocations: 47.84 kB / 0.9869 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.2779, allocations: 8.156 kB / 0.9869 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/0.2785, allocations: 51.72 kB / 0.987 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.2786, allocations: 19.89 kB / 0.987 GB, free: 19.21 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.0003584/0.2789, allocations: 181.7 kB / 0.9872 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/0.279, allocations: 23.72 kB / 0.9872 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.2804, allocations: 280.1 kB / 0.9875 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.2804, allocations: 4 kB / 0.9875 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.2804, allocations: 0 / 0.9875 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.2805, allocations: 11.92 kB / 0.9875 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.2827, allocations: 0.7366 MB / 0.9882 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.2827, allocations: 0 / 0.9882 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.2831, allocations: 31.97 kB / 0.9882 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.2832, allocations: 4 kB / 0.9882 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.2832, allocations: 4 kB / 0.9882 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/0.2832, allocations: 3.953 kB / 0.9882 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2833, allocations: 4 kB / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.2844, allocations: 359.6 kB / 0.9886 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.409e-05/0.2845, allocations: 108.8 kB / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.639e-05/0.2846, allocations: 4 kB / 0.9887 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/0.2851, allocations: 39.97 kB / 0.9887 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.2853, allocations: 39.89 kB / 0.9888 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.2854, allocations: 8 kB / 0.9888 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001852/0.2856, allocations: 140.1 kB / 0.9889 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.22e-07/0.2856, allocations: 0 / 0.9889 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007288/0.2864, allocations: 63.84 kB / 0.989 GB, free: 17.09 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.001536/0.2879, allocations: 0.9131 MB / 0.9899 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.2891, allocations: 256.5 kB / 0.9901 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2892, allocations: 0 / 0.9901 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005531/0.2898, allocations: 135.8 kB / 0.9902 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007871/0.2906, allocations: 37.98 kB / 0.9903 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.2951, allocations: 1.433 MB / 0.9917 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.2955, allocations: 0.7605 MB / 0.9924 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000207/0.2957, allocations: 26.28 kB / 0.9924 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.296, allocations: 87.39 kB / 0.9925 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of SimCode: time 8.91e-07/0.296, allocations: 7.938 kB / 0.9925 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.3312, allocations: 4.954 MB / 0.9974 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/0.3315, allocations: 223.4 kB / 0.9976 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/2.884, allocations: 0 / 0.9976 GB, free: 8.32 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)