Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.conf.json 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/Complex 4.0.0+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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset") translateModel(Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006088/0.006088, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 199.1 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2469/0.2469, allocations: 54.96 MB / 324.9 MB, free: 4.848 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 83.81 kB / 456.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1029, allocations: 59.59 MB / 0.5037 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset): time 0.003/0.106, allocations: 1.813 MB / 0.5054 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00028/0.1063, allocations: 123.6 kB / 0.5056 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.968e-05/0.1063, allocations: 4 kB / 0.5056 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.1065, allocations: 11.86 kB / 0.5056 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.515e-05/0.1066, allocations: 55.48 kB / 0.5056 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.1067, allocations: 31.95 kB / 0.5057 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.1069, allocations: 167.2 kB / 0.5058 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.107, allocations: 25.11 kB / 0.5058 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.1071, allocations: 55.78 kB / 0.5059 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1072, allocations: 67.7 kB / 0.506 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.1073, allocations: 8 kB / 0.506 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.709e-05/0.1073, allocations: 12 kB / 0.506 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.1073, allocations: 27.89 kB / 0.506 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.78e-05/0.1074, allocations: 63.67 kB / 0.5061 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1076, allocations: 135.4 kB / 0.5062 GB, free: 4.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1077, allocations: 0 / 0.5062 GB, free: 4.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1077, allocations: 0 / 0.5062 GB, free: 4.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1077, allocations: 0 / 0.5062 GB, free: 4.508 MB / 398.1 MB 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.0006778/0.1084, allocations: 462.2 kB / 0.5066 GB, free: 4.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.1084, allocations: 8.031 kB / 0.5067 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.1084, allocations: 16.89 kB / 0.5067 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.1086, allocations: 216 kB / 0.5069 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1087, allocations: 8.375 kB / 0.5069 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.1087, allocations: 4.375 kB / 0.5069 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.1089, allocations: 124.7 kB / 0.507 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.109, allocations: 192 / 0.507 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.109, allocations: 3.938 kB / 0.507 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.109, allocations: 4 kB / 0.507 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.1093, allocations: 99.86 kB / 0.5071 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007506/0.11, allocations: 468.7 kB / 0.5076 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.1104, allocations: 129.2 kB / 0.5077 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.1105, allocations: 61.77 kB / 0.5077 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1106, allocations: 3.938 kB / 0.5077 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.1106, allocations: 42.56 kB / 0.5078 GB, free: 2.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.1106, allocations: 0 / 0.5078 GB, free: 2.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005198/0.1111, allocations: 181.6 kB / 0.508 GB, free: 2.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.1112, allocations: 81.11 kB / 0.508 GB, free: 2.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1113, allocations: 179.6 kB / 0.5082 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1113, allocations: 25.7 kB / 0.5082 GB, free: 2.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.1114, allocations: 120.1 kB / 0.5083 GB, free: 2.086 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.1114, allocations: 23.75 kB / 0.5084 GB, free: 2.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.1115, allocations: 25.7 kB / 0.5084 GB, free: 2.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1116, allocations: 330.8 kB / 0.5087 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1117, allocations: 39.97 kB / 0.5087 GB, free: 1.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1119, allocations: 57.69 kB / 0.5088 GB, free: 1.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.1122, allocations: 109.6 kB / 0.5089 GB, free: 1.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1122, allocations: 0 / 0.5089 GB, free: 1.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000317/0.1125, allocations: 149.8 kB / 0.509 GB, free: 1.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.598e-05/0.1126, allocations: 8 kB / 0.5091 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1126, allocations: 4.062 kB / 0.5091 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.1126, allocations: 0 / 0.5091 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1128, allocations: 23.98 kB / 0.5091 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.1128, allocations: 0 / 0.5091 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.1129, allocations: 15.94 kB / 0.5091 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1129, allocations: 7.938 kB / 0.5091 GB, free: 1.273 MB / 398.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.695e-05/0.113, allocations: 117.8 kB / 0.5092 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.113, allocations: 11.95 kB / 0.5092 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.1134, allocations: 158.5 kB / 0.5094 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1134, allocations: 0 / 0.5094 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1134, allocations: 192 / 0.5094 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1135, allocations: 0 / 0.5094 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.1137, allocations: 233.4 kB / 0.5096 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1137, allocations: 4 kB / 0.5096 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.1139, allocations: 23.92 kB / 0.5096 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1139, allocations: 3.984 kB / 0.5096 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1139, allocations: 11.94 kB / 0.5096 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1139, allocations: 0 / 0.5096 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1139, allocations: 0 / 0.5096 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.1143, allocations: 314.6 kB / 0.5099 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.1143, allocations: 89.06 kB / 0.51 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.1144, allocations: 3.984 kB / 0.51 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.1145, allocations: 4 kB / 0.51 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.1146, allocations: 11.98 kB / 0.51 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.1146, allocations: 7.938 kB / 0.5101 GB, free: 200 kB / 398.1 MB Notification: Performance of sorting global known variables: time 8.108e-05/0.1147, allocations: 119.2 kB / 0.5102 GB, free: 80 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1147, allocations: 4 kB / 0.5102 GB, free: 76 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1149, allocations: 32 kB / 0.5102 GB, free: 44 kB / 398.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001024/0.115, allocations: 95.28 kB / 0.5103 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003207/0.1154, allocations: 103.8 kB / 0.5104 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1154, allocations: 0 / 0.5104 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.1155, allocations: 60.22 kB / 0.5104 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.1159, allocations: 40.12 kB / 0.5105 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.1164, allocations: 235.3 kB / 0.5107 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1167, allocations: 0.7045 MB / 0.5114 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.029e-05/0.1168, allocations: 20.81 kB / 0.5114 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.1169, allocations: 15.44 kB / 0.5114 GB, free: 14.71 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1169, allocations: 3.938 kB / 0.5114 GB, free: 14.71 MB / 414.1 MB Notification: Performance of Templates: time 0.004133/0.121, allocations: 2.11 MB / 0.5135 GB, free: 12.66 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile (rm -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.sim & ./Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe 2>&1)