Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.902/0.902, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 180.9 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008713/0.0008712, allocations: 79.61 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001691/0.001691, allocations: 287.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.575e-05/1.578e-05, allocations: 0 / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3729, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.5098, allocations: 108.5 MB / 0.8634 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.5101, allocations: 71.95 kB / 0.8635 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005387/0.5155, allocations: 1.87 MB / 0.8653 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5155, allocations: 4 kB / 0.8653 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.5155, allocations: 4 kB / 0.8654 GB, free: 1.27 MB / 0.5261 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.0005336/0.5161, allocations: 422.1 kB / 0.8658 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.5161, allocations: 16.03 kB / 0.8658 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.5162, allocations: 19.81 kB / 0.8658 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.5164, allocations: 212.2 kB / 0.866 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.5164, allocations: 3.984 kB / 0.866 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.5165, allocations: 4 kB / 0.866 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001415/0.5166, allocations: 56 kB / 0.8661 GB, free: 480 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.5168, allocations: 91.31 kB / 0.8661 GB, free: 376 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5168, allocations: 0 / 0.8661 GB, free: 376 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.5168, allocations: 4 kB / 0.8661 GB, free: 372 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5168, allocations: 4 kB / 0.8661 GB, free: 368 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000666/0.5175, allocations: 441.3 kB / 0.8666 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.5178, allocations: 105.3 kB / 0.8667 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.5178, allocations: 41.72 kB / 0.8667 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.5179, allocations: 4.062 kB / 0.8667 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.5179, allocations: 38.5 kB / 0.8667 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.5179, allocations: 4 kB / 0.8668 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0002621/0.5182, allocations: 93.69 kB / 0.8668 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.5182, allocations: 77.11 kB / 0.8669 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.5184, allocations: 154.4 kB / 0.8671 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.5184, allocations: 25.7 kB / 0.8671 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.5185, allocations: 104 kB / 0.8672 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.5185, allocations: 31.55 kB / 0.8672 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.5185, allocations: 0 / 0.8672 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5186, allocations: 322.8 kB / 0.8675 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.595e-05/0.5187, allocations: 35.92 kB / 0.8676 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.802e-05/0.5187, allocations: 37.72 kB / 0.8676 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.567e-05/0.5188, allocations: 24 kB / 0.8676 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.5188, allocations: 4 kB / 0.8676 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001687/0.519, allocations: 101.5 kB / 0.8677 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.519, allocations: 9.094 kB / 0.8677 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.519, allocations: 3.938 kB / 0.8677 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.519, allocations: 0 / 0.8677 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.5192, allocations: 31.92 kB / 0.8678 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.5192, allocations: 0 / 0.8678 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.5194, allocations: 15.98 kB / 0.8678 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.5194, allocations: 0 / 0.8678 GB, free: 14.55 MB / 0.5417 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 () * 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 9.352e-05/0.5195, allocations: 116.9 kB / 0.8679 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001837/0.5197, allocations: 101.7 kB / 0.868 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.5197, allocations: 19.81 kB / 0.868 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.52, allocations: 115.2 kB / 0.8681 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.52, allocations: 0 / 0.8681 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.52, allocations: 4 kB / 0.8681 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.52, allocations: 3.953 kB / 0.8681 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.5202, allocations: 190.2 kB / 0.8683 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5203, allocations: 0 / 0.8683 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.5204, allocations: 27.98 kB / 0.8683 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5204, allocations: 0 / 0.8683 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.5204, allocations: 144 / 0.8683 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.5205, allocations: 4 kB / 0.8683 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5205, allocations: 0 / 0.8683 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.5207, allocations: 292.4 kB / 0.8686 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.5207, allocations: 89.11 kB / 0.8687 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.5208, allocations: 3.938 kB / 0.8687 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.521, allocations: 15.98 kB / 0.8687 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.521, allocations: 7.984 kB / 0.8687 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.521, allocations: 0 / 0.8687 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.369e-05/0.5211, allocations: 119.9 kB / 0.8688 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5211, allocations: 0 / 0.8688 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002811/0.5214, allocations: 31.84 kB / 0.8689 GB, free: 13.34 MB / 0.5417 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 () * 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.0004708/0.5219, allocations: 0.8797 MB / 0.8697 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.522, allocations: 63.98 kB / 0.8698 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.522, allocations: 0 / 0.8698 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.378e-05/0.5221, allocations: 43.94 kB / 0.8698 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.5224, allocations: 35.94 kB / 0.8699 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.523, allocations: 178.8 kB / 0.87 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.5233, allocations: 0.7119 MB / 0.8707 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.404e-05/0.5234, allocations: 12.55 kB / 0.8707 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.68e-05/0.5234, allocations: 31.53 kB / 0.8708 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of SimCode: time 2.7e-07/0.5234, allocations: 3.938 kB / 0.8708 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.5431, allocations: 2.67 MB / 0.8734 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.5433, allocations: 162.1 kB / 0.8735 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/2.081, allocations: 7.5 kB / 0.8735 GB, free: 8.473 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)