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.8233/0.8233, allocations: 143.3 MB / 158.3 MB, free: 5.82 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.001501/0.001501, allocations: 179.3 kB / 191.5 MB, free: 5.781 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.481/1.481, allocations: 223.2 MB / 447.7 MB, free: 4.867 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.0009582/0.0009583, allocations: 92.25 kB / 0.5187 GB, free: 1.23 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 274.4 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006309/0.0006311, allocations: 14.09 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.167, allocations: 82.8 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.3042, allocations: 109.3 MB / 0.8805 GB, free: 352 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.3045, allocations: 71.95 kB / 0.8806 GB, free: 280 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2753/0.5798, allocations: 1.886 MB / 0.8824 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5799, allocations: 0 / 0.8824 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.5799, allocations: 6.688 kB / 0.8824 GB, free: 109.4 MB / 0.5417 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.0005197/0.5804, allocations: 446.2 kB / 0.8828 GB, free: 109 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5805, allocations: 11.69 kB / 0.8828 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.5805, allocations: 40.78 kB / 0.8829 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.5805, allocations: 13.56 kB / 0.8829 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.5807, allocations: 201.6 kB / 0.8831 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.5807, allocations: 9.812 kB / 0.8831 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.5808, allocations: 2.531 kB / 0.8831 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.581, allocations: 128.1 kB / 0.8832 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.581, allocations: 0 / 0.8832 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.581, allocations: 2.562 kB / 0.8832 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.5811, allocations: 3.75 kB / 0.8832 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.5813, allocations: 109.5 kB / 0.8833 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005919/0.5819, allocations: 481.6 kB / 0.8838 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.5823, allocations: 138.3 kB / 0.8839 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.5823, allocations: 4.25 kB / 0.8839 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.5823, allocations: 31.72 kB / 0.884 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.5823, allocations: 0.7812 kB / 0.884 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.000542/0.5829, allocations: 200.2 kB / 0.8841 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.5829, allocations: 91.83 kB / 0.8842 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.877e-05/0.583, allocations: 155.5 kB / 0.8844 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.5831, allocations: 27.73 kB / 0.8844 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.5831, allocations: 110.4 kB / 0.8845 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.5831, allocations: 35.28 kB / 0.8845 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.5831, allocations: 5.703 kB / 0.8846 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.61e-05/0.5832, allocations: 320.5 kB / 0.8849 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.5833, allocations: 49.48 kB / 0.8849 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.5835, allocations: 66.72 kB / 0.885 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.5836, allocations: 55.41 kB / 0.885 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5836, allocations: 0 / 0.885 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003036/0.5839, allocations: 160.7 kB / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.5839, allocations: 10.03 kB / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.584, allocations: 0 / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.584, allocations: 0 / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.5841, allocations: 29.05 kB / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.5841, allocations: 0 / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.5843, allocations: 19.28 kB / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.5843, allocations: 6.375 kB / 0.8852 GB, free: 107.4 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 () * 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 6.609e-05/0.5844, allocations: 126.6 kB / 0.8854 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.5844, allocations: 14.86 kB / 0.8854 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.5848, allocations: 177.2 kB / 0.8855 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5848, allocations: 0 / 0.8855 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5848, allocations: 2.938 kB / 0.8855 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5848, allocations: 0 / 0.8855 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.5851, allocations: 228.1 kB / 0.8858 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5851, allocations: 2.5 kB / 0.8858 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.5852, allocations: 22.47 kB / 0.8858 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5852, allocations: 6.078 kB / 0.8858 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.5852, allocations: 9.906 kB / 0.8858 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5852, allocations: 0 / 0.8858 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5853, allocations: 0 / 0.8858 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.5856, allocations: 342.3 kB / 0.8861 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.5856, allocations: 85.98 kB / 0.8862 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.5857, allocations: 0 / 0.8862 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.5859, allocations: 20.62 kB / 0.8862 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.5859, allocations: 13.59 kB / 0.8862 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.5859, allocations: 3.031 kB / 0.8862 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.919e-05/0.586, allocations: 123.4 kB / 0.8864 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.586, allocations: 0 / 0.8864 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002565/0.5863, allocations: 27.81 kB / 0.8864 GB, free: 106.6 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 () * 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.0005153/0.5868, allocations: 0.9435 MB / 0.8873 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.5871, allocations: 113.8 kB / 0.8874 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5871, allocations: 3.938 kB / 0.8874 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.5873, allocations: 62.22 kB / 0.8875 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.5876, allocations: 47.14 kB / 0.8875 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.5888, allocations: 0.9881 MB / 0.8885 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.589, allocations: 0.7107 MB / 0.8892 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.29e-05/0.5891, allocations: 14.05 kB / 0.8892 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.5891, allocations: 34.92 kB / 0.8892 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of SimCode: time 3.41e-07/0.5891, allocations: 0 / 0.8892 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.605, allocations: 3.227 MB / 0.8924 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/0.6052, allocations: 199.1 kB / 0.8926 GB, free: 104 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.191, allocations: 2.938 kB / 0.8926 GB, free: 104 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)