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: translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7607/0.7607, 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.001018/0.001018, allocations: 187 kB / 187.3 MB, free: 11.88 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.371/1.371, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.0008309/0.0008309, allocations: 92.2 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 292.1 kB / 0.594 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.206e-05/4.208e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3789, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.4918, allocations: 109.2 MB / 0.8709 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.492, allocations: 76.56 kB / 0.871 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005079/0.4971, allocations: 1.894 MB / 0.8728 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4972, allocations: 0 / 0.8728 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.4972, allocations: 0 / 0.8728 GB, free: 13.39 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.0005213/0.4977, allocations: 414.2 kB / 0.8732 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.4978, allocations: 12.03 kB / 0.8732 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.4978, allocations: 19.81 kB / 0.8733 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.4981, allocations: 206.7 kB / 0.8735 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.4981, allocations: 12 kB / 0.8735 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.4981, allocations: 4 kB / 0.8735 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.4983, allocations: 95.33 kB / 0.8736 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.4983, allocations: 0 / 0.8736 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.4983, allocations: 4 kB / 0.8736 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.4983, allocations: 4 kB / 0.8736 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.4985, allocations: 59.98 kB / 0.8736 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006993/0.4992, allocations: 488.5 kB / 0.8741 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.4995, allocations: 113.5 kB / 0.8742 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.337e-05/0.4996, allocations: 49.7 kB / 0.8742 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.4996, allocations: 0 / 0.8742 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.4996, allocations: 34.56 kB / 0.8743 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.4996, allocations: 0 / 0.8743 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0002726/0.4999, allocations: 101.5 kB / 0.8744 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.5, allocations: 85.06 kB / 0.8745 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.5001, allocations: 159 kB / 0.8746 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.5001, allocations: 25.7 kB / 0.8746 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.5002, allocations: 112.2 kB / 0.8747 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.5003, allocations: 27.56 kB / 0.8748 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.5003, allocations: 0 / 0.8748 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5004, allocations: 322.8 kB / 0.8751 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.5005, allocations: 24 kB / 0.8751 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.629e-05/0.5005, allocations: 53.64 kB / 0.8751 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.129e-05/0.5006, allocations: 24 kB / 0.8752 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5006, allocations: 192 / 0.8752 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001866/0.5008, allocations: 113.5 kB / 0.8753 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5008, allocations: 19.81 kB / 0.8753 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5008, allocations: 0 / 0.8753 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.5009, allocations: 0 / 0.8753 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.501, allocations: 23.98 kB / 0.8753 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.501, allocations: 0 / 0.8753 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.5012, allocations: 28.12 kB / 0.8753 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.5012, allocations: 8 kB / 0.8754 GB, free: 10.56 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 7.484e-05/0.5013, allocations: 104.9 kB / 0.8755 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.5013, allocations: 15.81 kB / 0.8755 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.5016, allocations: 126.6 kB / 0.8756 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5016, allocations: 8 kB / 0.8756 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5016, allocations: 0 / 0.8756 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5016, allocations: 0 / 0.8756 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.5019, allocations: 225.6 kB / 0.8758 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.5019, allocations: 0 / 0.8758 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.5021, allocations: 27.92 kB / 0.8758 GB, free: 10 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5021, allocations: 0 / 0.8758 GB, free: 10 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.5021, allocations: 0 / 0.8758 GB, free: 10 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5021, allocations: 0 / 0.8758 GB, free: 10 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.5021, allocations: 11.98 kB / 0.8758 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.5024, allocations: 288.2 kB / 0.8761 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.5024, allocations: 89.02 kB / 0.8762 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.5024, allocations: 0 / 0.8762 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.5026, allocations: 15.98 kB / 0.8762 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.5027, allocations: 11.98 kB / 0.8762 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.5027, allocations: 4 kB / 0.8762 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.567e-05/0.5028, allocations: 123.2 kB / 0.8764 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5028, allocations: 0 / 0.8764 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002546/0.5031, allocations: 31.91 kB / 0.8764 GB, free: 9.395 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.00011/0.5032, allocations: 95.25 kB / 0.8765 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.5034, allocations: 75.92 kB / 0.8766 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5034, allocations: 4 kB / 0.8766 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/0.5035, allocations: 39.94 kB / 0.8766 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.5038, allocations: 48.11 kB / 0.8766 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.5042, allocations: 146.2 kB / 0.8768 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.5045, allocations: 0.7126 MB / 0.8775 GB, free: 8.219 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.093e-05/0.5046, allocations: 12.77 kB / 0.8775 GB, free: 8.207 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.5046, allocations: 15.44 kB / 0.8775 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of SimCode: time 3.3e-07/0.5046, allocations: 0 / 0.8775 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of Templates: time 0.004229/0.5089, allocations: 1.847 MB / 0.8793 GB, free: 6.402 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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 & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)