Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.001159/0.001159, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001189/0.00119, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.752/1.752, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.256/1.256, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.000379, allocations: 12 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2023, allocations: 83.41 MB / 0.5975 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003026/0.2054, allocations: 1.502 MB / 0.599 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004716/0.2059, allocations: 115.6 kB / 0.5991 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.2061, allocations: 4 kB / 0.5991 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.2062, allocations: 19.84 kB / 0.5991 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.2063, allocations: 39.62 kB / 0.5992 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.2065, allocations: 27.95 kB / 0.5992 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.2068, allocations: 155.1 kB / 0.5993 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2069, allocations: 21.11 kB / 0.5994 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.2071, allocations: 47.86 kB / 0.5994 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.2072, allocations: 59.75 kB / 0.5995 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.2073, allocations: 7.984 kB / 0.5995 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.477e-05/0.2073, allocations: 4 kB / 0.5995 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.2073, allocations: 15.92 kB / 0.5995 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.2074, allocations: 49.64 kB / 0.5995 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.2076, allocations: 84.05 kB / 0.5996 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2076, allocations: 0 / 0.5996 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2076, allocations: 0 / 0.5996 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.515e-06/0.2076, allocations: 0 / 0.5996 GB, free: 5.543 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009697/0.2086, allocations: 446.7 kB / 0.6 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.779e-05/0.2087, allocations: 12.03 kB / 0.6001 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.656e-05/0.2087, allocations: 38.56 kB / 0.6001 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.2088, allocations: 15.89 kB / 0.6001 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.2092, allocations: 206.7 kB / 0.6003 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.2092, allocations: 8 kB / 0.6003 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.2093, allocations: 4 kB / 0.6003 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.2097, allocations: 119.4 kB / 0.6004 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.2097, allocations: 3.984 kB / 0.6004 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2097, allocations: 4 kB / 0.6004 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.2097, allocations: 4 kB / 0.6004 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.2101, allocations: 107.9 kB / 0.6005 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.2111, allocations: 480.7 kB / 0.601 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.2115, allocations: 137.2 kB / 0.6011 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.2117, allocations: 77.66 kB / 0.6012 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.2118, allocations: 0 / 0.6012 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.2118, allocations: 38.56 kB / 0.6012 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.2118, allocations: 0 / 0.6012 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006299/0.2125, allocations: 209.3 kB / 0.6014 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.2125, allocations: 77.11 kB / 0.6015 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.2127, allocations: 172.4 kB / 0.6017 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.2127, allocations: 25.7 kB / 0.6017 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.886e-05/0.2128, allocations: 116.2 kB / 0.6018 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.2129, allocations: 31.66 kB / 0.6018 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.2129, allocations: 0 / 0.6018 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.213, allocations: 322.8 kB / 0.6022 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.2132, allocations: 51.97 kB / 0.6022 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.2133, allocations: 61.69 kB / 0.6023 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.2135, allocations: 59.91 kB / 0.6023 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2135, allocations: 0 / 0.6023 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003683/0.2139, allocations: 153.5 kB / 0.6025 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.2139, allocations: 4 kB / 0.6025 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2139, allocations: 4 kB / 0.6025 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.214, allocations: 7.953 kB / 0.6025 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.2141, allocations: 31.92 kB / 0.6025 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.2141, allocations: 0 / 0.6025 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.2143, allocations: 19.89 kB / 0.6025 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.2143, allocations: 0 / 0.6025 GB, free: 2.293 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001048/0.2144, allocations: 121.8 kB / 0.6026 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.2145, allocations: 15.89 kB / 0.6027 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.2149, allocations: 170.5 kB / 0.6028 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2149, allocations: 3.953 kB / 0.6028 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.2149, allocations: 4 kB / 0.6028 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2149, allocations: 0 / 0.6028 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.2153, allocations: 221.4 kB / 0.603 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.2153, allocations: 8.422 kB / 0.6031 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.2155, allocations: 23.98 kB / 0.6031 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.2155, allocations: 4 kB / 0.6031 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.2155, allocations: 8 kB / 0.6031 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.2155, allocations: 3.938 kB / 0.6031 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2155, allocations: 7.891 kB / 0.6031 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.216, allocations: 322.6 kB / 0.6034 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.2161, allocations: 92.91 kB / 0.6035 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.2161, allocations: 4.281 kB / 0.6035 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.2163, allocations: 15.98 kB / 0.6035 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.2164, allocations: 7.953 kB / 0.6035 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.2164, allocations: 7.938 kB / 0.6035 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001131/0.2165, allocations: 133.5 kB / 0.6037 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.61e-07/0.2165, allocations: 0 / 0.6037 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003006/0.2168, allocations: 24 kB / 0.6037 GB, free: 1.02 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0007833/0.2176, allocations: 0.8522 MB / 0.6045 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003783/0.218, allocations: 119.9 kB / 0.6046 GB, free: 20 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.218, allocations: 0 / 0.6046 GB, free: 20 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.3967/0.6147, allocations: 64.06 kB / 0.6047 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007747/0.6156, allocations: 34.67 kB / 0.6047 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.6175, allocations: 0.8268 MB / 0.6055 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.6178, allocations: 0.7047 MB / 0.6062 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.6179, allocations: 14.47 kB / 0.6062 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.489e-05/0.618, allocations: 38.59 kB / 0.6063 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.204e-06/0.618, allocations: 0 / 0.6063 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.6343, allocations: 3.236 MB / 0.6094 GB, free: 39.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.6346, allocations: 210 kB / 0.6096 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/2.713, allocations: 4.844 kB / 0.6096 GB, free: 39.27 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) Environment - environmentSimulation: