Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002884/0.002884, allocations: 186.7 kB / 16.62 MB, free: 6.613 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.321/1.321, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.613/1.613, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001416/0.001416, allocations: 66.39 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2041, allocations: 114.6 MB / 0.7836 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003307/0.2075, allocations: 2.032 MB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2087, allocations: 0.7529 MB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.2088, allocations: 11.88 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.209, allocations: 27.61 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.2091, allocations: 43.58 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.2095, allocations: 159.8 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004138/0.21, allocations: 395.2 kB / 0.787 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.2103, allocations: 252.5 kB / 0.7872 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.2105, allocations: 131.6 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.2107, allocations: 151.3 kB / 0.7875 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.2108, allocations: 36 kB / 0.7875 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.2109, allocations: 48 kB / 0.7876 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.987e-05/0.2109, allocations: 83.73 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.2111, allocations: 151.3 kB / 0.7878 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.2115, allocations: 414.6 kB / 0.7882 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2115, allocations: 4 kB / 0.7882 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2115, allocations: 0 / 0.7882 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.2115, allocations: 3.984 kB / 0.7882 GB, free: 8.531 MB / 0.6075 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.0008854/0.2124, allocations: 0.5728 MB / 0.7887 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2125, allocations: 8.031 kB / 0.7887 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.044e-05/0.2125, allocations: 62.73 kB / 0.7888 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.182e-05/0.2126, allocations: 40.55 kB / 0.7888 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.213, allocations: 275.8 kB / 0.7891 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.213, allocations: 20.94 kB / 0.7891 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.2131, allocations: 32.38 kB / 0.7892 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/0.2136, allocations: 311.8 kB / 0.7895 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.2136, allocations: 4 kB / 0.7895 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.2137, allocations: 8 kB / 0.7895 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.2137, allocations: 12 kB / 0.7895 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.2141, allocations: 242 kB / 0.7897 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.2155, allocations: 0.9323 MB / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.216, allocations: 242.7 kB / 0.7909 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.2163, allocations: 117.3 kB / 0.791 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.2163, allocations: 8.219 kB / 0.791 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/0.2166, allocations: 159.5 kB / 0.7911 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.2166, allocations: 0 / 0.7911 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006636/0.2173, allocations: 314.1 kB / 0.7914 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.2173, allocations: 71.33 kB / 0.7915 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.2175, allocations: 204 kB / 0.7917 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.2175, allocations: 37.7 kB / 0.7917 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.2177, allocations: 152.6 kB / 0.7919 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.2177, allocations: 86.83 kB / 0.7919 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2178, allocations: 77.69 kB / 0.792 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.218, allocations: 334.8 kB / 0.7923 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.2182, allocations: 95.95 kB / 0.7924 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.2185, allocations: 153 kB / 0.7926 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.2188, allocations: 212.7 kB / 0.7928 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.2188, allocations: 7.938 kB / 0.7928 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004889/0.2193, allocations: 300.7 kB / 0.7931 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2194, allocations: 11.98 kB / 0.7931 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2194, allocations: 0 / 0.7931 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.2194, allocations: 4.156 kB / 0.7931 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.2196, allocations: 39.86 kB / 0.7931 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.2196, allocations: 7.984 kB / 0.7931 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.2198, allocations: 47.72 kB / 0.7932 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.2198, allocations: 8 kB / 0.7932 GB, free: 3.113 MB / 0.6075 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,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.22, allocations: 177.6 kB / 0.7934 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.2201, allocations: 23.8 kB / 0.7934 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005179/0.2206, allocations: 288.1 kB / 0.7937 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2206, allocations: 0 / 0.7937 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2206, allocations: 4 kB / 0.7937 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2206, allocations: 0 / 0.7937 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009282/0.2215, allocations: 0.7231 MB / 0.7944 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2216, allocations: 8 kB / 0.7944 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.2217, allocations: 23.98 kB / 0.7944 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2217, allocations: 0 / 0.7944 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.2217, allocations: 7.984 kB / 0.7944 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2217, allocations: 4 kB / 0.7944 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.2218, allocations: 7.875 kB / 0.7944 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.2223, allocations: 356.8 kB / 0.7948 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.2223, allocations: 100.8 kB / 0.7949 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.2224, allocations: 4 kB / 0.7949 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.2226, allocations: 27.95 kB / 0.7949 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.2227, allocations: 39.89 kB / 0.7949 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.2227, allocations: 8 kB / 0.7949 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.384e-05/0.2228, allocations: 140.1 kB / 0.7951 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2228, allocations: 0 / 0.7951 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000306/0.2231, allocations: 67.84 kB / 0.7951 GB, free: 1.023 MB / 0.6075 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.active,heaCon.off.active,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007626/0.2239, allocations: 0.8979 MB / 0.796 GB, free: 104 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004777/0.2244, allocations: 256.3 kB / 0.7963 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2244, allocations: 0 / 0.7963 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.2246, allocations: 139.8 kB / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.225, allocations: 46.28 kB / 0.7964 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.2279, allocations: 2.545 MB / 0.7989 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.2282, allocations: 0.7603 MB / 0.7997 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.2283, allocations: 30.27 kB / 0.7997 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.2285, allocations: 83.41 kB / 0.7998 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.2285, allocations: 0 / 0.7998 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.2484, allocations: 5.537 MB / 0.8052 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.362/7.61, allocations: 0 / 0.8052 GB, free: 6.734 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)