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.0009745/0.0009745, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001056/0.001056, allocations: 177.3 kB / 15.95 MB, free: 216 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.346/1.346, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.068/1.068, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.000317, allocations: 8 kB / 0.5159 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1868, allocations: 83.42 MB / 0.5974 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00178/0.1886, allocations: 1.447 MB / 0.5988 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002455/0.1889, allocations: 131.7 kB / 0.5989 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.1889, allocations: 3.938 kB / 0.5989 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.189, allocations: 15.92 kB / 0.5989 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.1891, allocations: 51.88 kB / 0.599 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.1892, allocations: 27.91 kB / 0.599 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.1894, allocations: 123.7 kB / 0.5991 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.1895, allocations: 17.12 kB / 0.5991 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.992e-05/0.1896, allocations: 47.84 kB / 0.5992 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.1897, allocations: 59.75 kB / 0.5992 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.1898, allocations: 4 kB / 0.5992 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.101e-05/0.1898, allocations: 4 kB / 0.5992 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.1898, allocations: 23.91 kB / 0.5993 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.1899, allocations: 45.64 kB / 0.5993 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.19, allocations: 84 kB / 0.5994 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.19, allocations: 4 kB / 0.5994 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.586e-06/0.19, allocations: 3.984 kB / 0.5994 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.19, allocations: 4 kB / 0.5994 GB, free: 5.676 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.0007641/0.1908, allocations: 441 kB / 0.5998 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1908, allocations: 20.02 kB / 0.5998 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.1909, allocations: 34.56 kB / 0.5999 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.1909, allocations: 11.91 kB / 0.5999 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.1912, allocations: 206.7 kB / 0.6001 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1912, allocations: 4 kB / 0.6001 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.1912, allocations: 8 kB / 0.6001 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.1915, allocations: 127.3 kB / 0.6002 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1915, allocations: 0 / 0.6002 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1915, allocations: 0 / 0.6002 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1915, allocations: 0 / 0.6002 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.1919, allocations: 119.9 kB / 0.6003 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007067/0.1926, allocations: 460.7 kB / 0.6008 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.193, allocations: 141.3 kB / 0.6009 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.193, allocations: 96 / 0.6009 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.193, allocations: 46.48 kB / 0.6009 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.193, allocations: 0 / 0.6009 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000594/0.1936, allocations: 205.5 kB / 0.6011 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.1937, allocations: 92.98 kB / 0.6012 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1939, allocations: 160.4 kB / 0.6014 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1939, allocations: 25.7 kB / 0.6014 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/0.194, allocations: 116.2 kB / 0.6015 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.194, allocations: 31.7 kB / 0.6015 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-06/0.194, allocations: 0 / 0.6015 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1941, allocations: 326.8 kB / 0.6018 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.1943, allocations: 47.97 kB / 0.6019 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.1944, allocations: 65.69 kB / 0.602 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1946, allocations: 51.97 kB / 0.602 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1946, allocations: 0 / 0.602 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003429/0.1949, allocations: 161.4 kB / 0.6022 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.195, allocations: 4 kB / 0.6022 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.195, allocations: 192 / 0.6022 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.195, allocations: 7.953 kB / 0.6022 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.1952, allocations: 36.28 kB / 0.6022 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1952, allocations: 4 kB / 0.6022 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.1953, allocations: 23.89 kB / 0.6022 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.1953, allocations: 0 / 0.6022 GB, free: 2.504 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 8.934e-05/0.1954, allocations: 121.8 kB / 0.6023 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.1955, allocations: 11.91 kB / 0.6024 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.1959, allocations: 170.5 kB / 0.6025 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1959, allocations: 3.953 kB / 0.6025 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1959, allocations: 7.984 kB / 0.6025 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1959, allocations: 0 / 0.6025 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.1962, allocations: 225.4 kB / 0.6027 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1962, allocations: 0 / 0.6027 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.1964, allocations: 23.98 kB / 0.6028 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.1964, allocations: 4 kB / 0.6028 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1964, allocations: 0 / 0.6028 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1964, allocations: 0 / 0.6028 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1964, allocations: 3.953 kB / 0.6028 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.1969, allocations: 336.3 kB / 0.6031 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.1969, allocations: 92.92 kB / 0.6032 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.197, allocations: 8 kB / 0.6032 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.1972, allocations: 15.94 kB / 0.6032 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.1972, allocations: 11.92 kB / 0.6032 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.1973, allocations: 0 / 0.6032 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.348e-05/0.1974, allocations: 129.5 kB / 0.6033 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1974, allocations: 3.938 kB / 0.6034 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002832/0.1976, allocations: 28 kB / 0.6034 GB, free: 1.227 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.0007851/0.1984, allocations: 0.9382 MB / 0.6043 GB, free: 260 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003348/0.1988, allocations: 120.1 kB / 0.6044 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1988, allocations: 3.938 kB / 0.6044 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.199, allocations: 59.97 kB / 0.6045 GB, free: 76 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.1993, allocations: 37.66 kB / 0.6045 GB, free: 40 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2568/0.4561, allocations: 0.9729 MB / 0.6055 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.4563, allocations: 0.7108 MB / 0.6061 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000105/0.4564, allocations: 10.81 kB / 0.6062 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.4565, allocations: 35.06 kB / 0.6062 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of SimCode: time 1.352e-06/0.4565, allocations: 0 / 0.6062 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.4694, allocations: 3.219 MB / 0.6093 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/0.4696, allocations: 204.2 kB / 0.6095 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.251, allocations: 0 / 0.6095 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: