Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001157/0.001157, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9274/0.9274, allocations: 132.2 MB / 423.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 68.56 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1944, allocations: 80.2 MB / 0.6603 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004245/0.1987, allocations: 1.815 MB / 0.6621 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004499/0.1991, allocations: 115.6 kB / 0.6622 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.1993, allocations: 4 kB / 0.6622 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.1995, allocations: 11.86 kB / 0.6622 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.1996, allocations: 55.48 kB / 0.6622 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.1998, allocations: 31.95 kB / 0.6623 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.2001, allocations: 171.2 kB / 0.6624 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.2003, allocations: 29.08 kB / 0.6625 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.2004, allocations: 59.78 kB / 0.6625 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.2005, allocations: 63.7 kB / 0.6626 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.2006, allocations: 12 kB / 0.6626 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.05e-05/0.2006, allocations: 8 kB / 0.6626 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.902e-05/0.2007, allocations: 27.91 kB / 0.6626 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.862e-05/0.2008, allocations: 67.67 kB / 0.6627 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.201, allocations: 127.5 kB / 0.6628 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.201, allocations: 0 / 0.6628 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.201, allocations: 3.938 kB / 0.6628 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.201, allocations: 0 / 0.6628 GB, free: 7.75 MB / 0.4981 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.001031/0.202, allocations: 458.8 kB / 0.6633 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.2021, allocations: 8.031 kB / 0.6633 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.2022, allocations: 12.84 kB / 0.6633 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.2025, allocations: 208.8 kB / 0.6635 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.2026, allocations: 8.375 kB / 0.6635 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.2026, allocations: 8.375 kB / 0.6635 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.2029, allocations: 121.8 kB / 0.6636 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2029, allocations: 192 / 0.6636 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.203, allocations: 7.938 kB / 0.6636 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.203, allocations: 0 / 0.6636 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.2033, allocations: 103.8 kB / 0.6637 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008667/0.2042, allocations: 476.7 kB / 0.6642 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.2046, allocations: 129.2 kB / 0.6643 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.2048, allocations: 57.78 kB / 0.6643 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.2048, allocations: 7.938 kB / 0.6644 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.2048, allocations: 30.56 kB / 0.6644 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.2048, allocations: 4 kB / 0.6644 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005956/0.2054, allocations: 181.5 kB / 0.6646 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.2055, allocations: 81.11 kB / 0.6646 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.2057, allocations: 174.4 kB / 0.6648 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.2057, allocations: 25.7 kB / 0.6648 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.2059, allocations: 112 kB / 0.6649 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.2059, allocations: 31.56 kB / 0.665 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.206, allocations: 29.64 kB / 0.665 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2061, allocations: 330.8 kB / 0.6653 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.2063, allocations: 35.97 kB / 0.6653 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.2064, allocations: 57.69 kB / 0.6654 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.2067, allocations: 109.6 kB / 0.6655 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2067, allocations: 0 / 0.6655 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003658/0.2071, allocations: 145.4 kB / 0.6656 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2071, allocations: 8 kB / 0.6657 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.2071, allocations: 0 / 0.6657 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2071, allocations: 0 / 0.6657 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.2073, allocations: 24.17 kB / 0.6657 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.2073, allocations: 4 kB / 0.6657 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.2074, allocations: 15.92 kB / 0.6657 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.2075, allocations: 7.938 kB / 0.6657 GB, free: 4.535 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.2076, allocations: 117.8 kB / 0.6658 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.2076, allocations: 15.81 kB / 0.6658 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004785/0.2081, allocations: 163 kB / 0.666 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2081, allocations: 8 kB / 0.666 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.2082, allocations: 0 / 0.666 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2082, allocations: 0 / 0.666 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.2085, allocations: 225.5 kB / 0.6662 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2085, allocations: 0 / 0.6662 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.2086, allocations: 31.91 kB / 0.6662 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2086, allocations: 0 / 0.6662 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.2086, allocations: 4 kB / 0.6662 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2087, allocations: 4 kB / 0.6662 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2087, allocations: 0 / 0.6662 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/0.2091, allocations: 314.5 kB / 0.6665 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.2092, allocations: 88.91 kB / 0.6666 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.2092, allocations: 8 kB / 0.6666 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.2094, allocations: 11.98 kB / 0.6666 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.2094, allocations: 4 kB / 0.6667 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.2094, allocations: 7.938 kB / 0.6667 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001017/0.2095, allocations: 128.2 kB / 0.6668 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2096, allocations: 0 / 0.6668 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003036/0.2099, allocations: 24 kB / 0.6668 GB, free: 3.305 MB / 0.4981 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 (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.0001083/0.21, allocations: 110.4 kB / 0.6669 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.2103, allocations: 100.1 kB / 0.667 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2103, allocations: 0 / 0.667 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.2105, allocations: 55.91 kB / 0.6671 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.211, allocations: 52.44 kB / 0.6671 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.2115, allocations: 249.2 kB / 0.6673 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.2118, allocations: 0.7045 MB / 0.668 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.2119, allocations: 23.36 kB / 0.6681 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.2119, allocations: 0 / 0.6681 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of Templates: time 0.003359/0.2152, allocations: 1.756 MB / 0.6698 GB, free: 228 kB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)