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.7038/0.7038, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009685/0.0009688, allocations: 186 kB / 187.3 MB, free: 11.89 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.257/1.257, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0008318/0.0008318, allocations: 100.8 kB / 0.5124 GB, free: 24.29 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001711/0.001711, allocations: 278.8 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.495e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.397, allocations: 82.76 MB / 0.7643 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1086/0.5056, allocations: 109.2 MB / 0.871 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.5058, allocations: 72.77 kB / 0.8711 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005081/0.5109, allocations: 1.895 MB / 0.8729 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5109, allocations: 0 / 0.8729 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.994e-05/0.511, allocations: 4 kB / 0.8729 GB, free: 13.25 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.0005537/0.5115, allocations: 422.2 kB / 0.8733 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.5116, allocations: 11.97 kB / 0.8733 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.5116, allocations: 38.56 kB / 0.8734 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.5117, allocations: 15.81 kB / 0.8734 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.5119, allocations: 206.7 kB / 0.8736 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.5119, allocations: 8 kB / 0.8736 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.5119, allocations: 4 kB / 0.8736 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.5121, allocations: 99.33 kB / 0.8737 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.5121, allocations: 7.984 kB / 0.8737 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.5122, allocations: 4 kB / 0.8737 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.5122, allocations: 0 / 0.8737 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.5123, allocations: 59.98 kB / 0.8738 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000671/0.513, allocations: 488.5 kB / 0.8742 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.5133, allocations: 113.4 kB / 0.8743 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.505e-05/0.5134, allocations: 41.72 kB / 0.8744 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.5134, allocations: 0 / 0.8744 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.5134, allocations: 38.56 kB / 0.8744 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.5134, allocations: 0 / 0.8744 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0002553/0.5137, allocations: 105.6 kB / 0.8745 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.5137, allocations: 81.06 kB / 0.8746 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.5139, allocations: 155.3 kB / 0.8747 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.5139, allocations: 29.7 kB / 0.8748 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.514, allocations: 108.2 kB / 0.8749 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.514, allocations: 35.55 kB / 0.8749 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.514, allocations: 4 kB / 0.8749 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5142, allocations: 322.8 kB / 0.8752 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.765e-05/0.5142, allocations: 20 kB / 0.8752 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.5143, allocations: 49.59 kB / 0.8753 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.5144, allocations: 39.98 kB / 0.8753 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.5144, allocations: 0 / 0.8753 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001849/0.5146, allocations: 105.5 kB / 0.8754 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5146, allocations: 12 kB / 0.8754 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5146, allocations: 0 / 0.8754 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5146, allocations: 0 / 0.8754 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.5148, allocations: 31.92 kB / 0.8755 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.5148, allocations: 7.125 kB / 0.8755 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.5149, allocations: 15.94 kB / 0.8755 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.515, allocations: 4 kB / 0.8755 GB, free: 10.37 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 6.74e-05/0.515, allocations: 112.9 kB / 0.8756 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.5151, allocations: 15.81 kB / 0.8756 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.5153, allocations: 122.6 kB / 0.8757 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-06/0.5154, allocations: 4 kB / 0.8757 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.5154, allocations: 0 / 0.8757 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5154, allocations: 0 / 0.8757 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.5157, allocations: 225.6 kB / 0.8759 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.5157, allocations: 0 / 0.8759 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.5158, allocations: 31.92 kB / 0.876 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.5159, allocations: 3.984 kB / 0.876 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.5159, allocations: 0 / 0.876 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5159, allocations: 4 kB / 0.876 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5159, allocations: 0 / 0.876 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.5162, allocations: 296.2 kB / 0.8763 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.5162, allocations: 85.02 kB / 0.8763 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.5162, allocations: 4.172 kB / 0.8764 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.5164, allocations: 20 kB / 0.8764 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.5165, allocations: 7.984 kB / 0.8764 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.5165, allocations: 3.953 kB / 0.8764 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.717e-05/0.5166, allocations: 123.3 kB / 0.8765 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5166, allocations: 4 kB / 0.8765 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002512/0.5169, allocations: 31.91 kB / 0.8765 GB, free: 9.191 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.0005513/0.5174, allocations: 0.8839 MB / 0.8774 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.5176, allocations: 76.03 kB / 0.8775 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5176, allocations: 0 / 0.8775 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.319e-05/0.5177, allocations: 47.91 kB / 0.8775 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.518, allocations: 43.81 kB / 0.8776 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000529/0.5186, allocations: 194 kB / 0.8777 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.5188, allocations: 0.7048 MB / 0.8784 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.984e-05/0.5189, allocations: 16.77 kB / 0.8784 GB, free: 7.137 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.519, allocations: 27.44 kB / 0.8785 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of SimCode: time 3.3e-07/0.519, allocations: 4 kB / 0.8785 GB, free: 7.105 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.5334, allocations: 3.204 MB / 0.8816 GB, free: 4.125 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.5336, allocations: 186.7 kB / 0.8818 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.07, allocations: 4 kB / 0.8818 GB, free: 3.895 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)