Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.445/1.445, allocations: 251.9 MB / 266.9 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 187.5 kB / 326.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 0.5775 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 94.34 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004478, allocations: 13.66 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2376, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1799/0.4176, allocations: 132.3 MB / 1.029 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.4179, allocations: 75.95 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005614/0.4236, allocations: 1.86 MB / 1.031 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.003e-06/0.4236, allocations: 0 / 1.031 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.125e-05/0.4236, allocations: 4 kB / 1.031 GB, free: 9.379 MB / 0.6823 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.0007293/0.4244, allocations: 450.7 kB / 1.032 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.4244, allocations: 8.031 kB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.613e-05/0.4245, allocations: 42.55 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.4246, allocations: 15.81 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.4249, allocations: 210.7 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.4249, allocations: 0 / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.4249, allocations: 8 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.4252, allocations: 124.9 kB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4253, allocations: 0 / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.4253, allocations: 8 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4253, allocations: 4 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.4256, allocations: 107.9 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008097/0.4264, allocations: 480.7 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.4268, allocations: 137.3 kB / 1.033 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.4269, allocations: 4 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.4269, allocations: 38.58 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.4269, allocations: 0 / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0005909/0.4275, allocations: 209.4 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.4276, allocations: 77.11 kB / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.4277, allocations: 158 kB / 1.033 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.4278, allocations: 25.7 kB / 1.033 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.4278, allocations: 108.3 kB / 1.033 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.4279, allocations: 31.55 kB / 1.033 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.4279, allocations: 0 / 1.033 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.428, allocations: 326.8 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.4282, allocations: 47.97 kB / 1.034 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.4283, allocations: 69.61 kB / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.4285, allocations: 55.98 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4285, allocations: 0 / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003577/0.4289, allocations: 161.5 kB / 1.034 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4289, allocations: 9.094 kB / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4289, allocations: 0 / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4289, allocations: 3.953 kB / 1.034 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.4291, allocations: 23.98 kB / 1.034 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.4291, allocations: 8.312 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.4293, allocations: 23.83 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.4293, allocations: 8 kB / 1.034 GB, free: 6.203 MB / 0.6823 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.0001027/0.4294, allocations: 117.8 kB / 1.034 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.4295, allocations: 19.81 kB / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.4299, allocations: 170.5 kB / 1.034 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.4299, allocations: 4 kB / 1.034 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.4299, allocations: 3.953 kB / 1.034 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4299, allocations: 0 / 1.034 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.4302, allocations: 217.6 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4302, allocations: 0 / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.4304, allocations: 27.98 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.4304, allocations: 0 / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.4304, allocations: 0 / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4304, allocations: 7.984 kB / 1.035 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4304, allocations: 0 / 1.035 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.4309, allocations: 344.2 kB / 1.035 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.431, allocations: 85.02 kB / 1.035 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.431, allocations: 0 / 1.035 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.4312, allocations: 15.98 kB / 1.035 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.4313, allocations: 19.88 kB / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.4313, allocations: 4 kB / 1.035 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.788e-05/0.4314, allocations: 119.2 kB / 1.035 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4314, allocations: 288 / 1.035 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002848/0.4317, allocations: 28 kB / 1.035 GB, free: 4.934 MB / 0.6823 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.0007217/0.4324, allocations: 0.9466 MB / 1.036 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003539/0.4328, allocations: 111.9 kB / 1.036 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4328, allocations: 4 kB / 1.036 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.433, allocations: 59.95 kB / 1.036 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.4334, allocations: 48.25 kB / 1.036 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.435, allocations: 0.9783 MB / 1.037 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.4353, allocations: 0.7087 MB / 1.038 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.96e-05/0.4355, allocations: 12.64 kB / 1.038 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.4356, allocations: 35.44 kB / 1.038 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.4356, allocations: 0 / 1.038 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.4514, allocations: 3.215 MB / 1.041 GB, free: 14.92 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.4516, allocations: 217.2 kB / 1.041 GB, free: 14.67 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.008, allocations: 0 / 1.041 GB, free: 14.67 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)