Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007861/0.0007861, allocations: 96.36 kB / 19.7 MB, free: 452 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007787/0.0007787, allocations: 207.2 kB / 22.99 MB, free: 2.984 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8286/0.8286, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7213/0.7213, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008418/0.0008418, allocations: 66.38 kB / 0.7194 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3803, allocations: 102 MB / 0.819 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001747/0.382, allocations: 1.794 MB / 0.8207 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002142/0.3822, allocations: 106.5 kB / 0.8208 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.3823, allocations: 11.47 kB / 0.8208 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.746e-05/0.3824, allocations: 12.38 kB / 0.8209 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.798e-05/0.3825, allocations: 49.58 kB / 0.8209 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001093/0.3826, allocations: 34.67 kB / 0.8209 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.3828, allocations: 175.1 kB / 0.8211 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.3829, allocations: 23.09 kB / 0.8211 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.026e-05/0.3829, allocations: 54.39 kB / 0.8212 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.383, allocations: 70.81 kB / 0.8212 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.383, allocations: 10.38 kB / 0.8212 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.604e-05/0.383, allocations: 10.41 kB / 0.8213 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.383, allocations: 19.58 kB / 0.8213 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.3831, allocations: 57.09 kB / 0.8213 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.3832, allocations: 129.5 kB / 0.8215 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3832, allocations: 0 / 0.8215 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3832, allocations: 0 / 0.8215 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3832, allocations: 0.5938 kB / 0.8215 GB, free: 15.71 MB / 0.6198 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.0004952/0.3837, allocations: 381.5 kB / 0.8218 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.3838, allocations: 8.969 kB / 0.8218 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.3838, allocations: 16.11 kB / 0.8218 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.384, allocations: 156.1 kB / 0.822 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.384, allocations: 11.91 kB / 0.822 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.384, allocations: 3.875 kB / 0.822 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3842, allocations: 122.9 kB / 0.8221 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3842, allocations: 192 / 0.8221 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3842, allocations: 3.938 kB / 0.8221 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.3842, allocations: 3.25 kB / 0.8221 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.3844, allocations: 98.52 kB / 0.8222 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.3848, allocations: 390.6 kB / 0.8226 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.3851, allocations: 128.5 kB / 0.8227 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.738e-05/0.3851, allocations: 59.25 kB / 0.8228 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.3852, allocations: 2.094 kB / 0.8228 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.3852, allocations: 38.25 kB / 0.8228 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3852, allocations: 0 / 0.8228 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003434/0.3855, allocations: 180.8 kB / 0.823 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.3856, allocations: 82.77 kB / 0.8231 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.3857, allocations: 163.2 kB / 0.8232 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.3857, allocations: 27.08 kB / 0.8232 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.3857, allocations: 105.6 kB / 0.8234 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.3858, allocations: 30.12 kB / 0.8234 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.3858, allocations: 25.7 kB / 0.8234 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.3859, allocations: 326.3 kB / 0.8237 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.3859, allocations: 46.62 kB / 0.8238 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/0.386, allocations: 61.34 kB / 0.8238 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.3862, allocations: 106.5 kB / 0.8239 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.3862, allocations: 0 / 0.8239 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001981/0.3864, allocations: 143.8 kB / 0.8241 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.3864, allocations: 10.48 kB / 0.8241 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3864, allocations: 1.062 kB / 0.8241 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3864, allocations: 1.094 kB / 0.8241 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.3865, allocations: 26.92 kB / 0.8241 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3865, allocations: 1.156 kB / 0.8241 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.3865, allocations: 12.36 kB / 0.8241 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.3865, allocations: 2.656 kB / 0.8241 GB, free: 13.64 MB / 0.6198 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 6.223e-05/0.3866, allocations: 124.3 kB / 0.8242 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.3866, allocations: 21.72 kB / 0.8242 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.3869, allocations: 156 kB / 0.8244 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3869, allocations: 1.281 kB / 0.8244 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3869, allocations: 1.344 kB / 0.8244 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3869, allocations: 2.516 kB / 0.8244 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.387, allocations: 151.5 kB / 0.8245 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.387, allocations: 0 / 0.8245 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.3871, allocations: 25.77 kB / 0.8246 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3871, allocations: 0.8438 kB / 0.8246 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3871, allocations: 9.281 kB / 0.8246 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3871, allocations: 5.094 kB / 0.8246 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3871, allocations: 1.938 kB / 0.8246 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.3873, allocations: 315.3 kB / 0.8249 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.3874, allocations: 16.73 kB / 0.8249 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3874, allocations: 1.953 kB / 0.8249 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.047e-05/0.3875, allocations: 12.02 kB / 0.8249 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.3875, allocations: 12.06 kB / 0.8249 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.3875, allocations: 2.719 kB / 0.8249 GB, free: 13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.708e-05/0.3876, allocations: 117.8 kB / 0.825 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3876, allocations: 0 / 0.825 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001792/0.3877, allocations: 29.78 kB / 0.8251 GB, free: 12.91 MB / 0.6198 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 6.254e-05/0.3878, allocations: 94.92 kB / 0.8252 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.388, allocations: 105.6 kB / 0.8253 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.388, allocations: 1.25 kB / 0.8253 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/0.3881, allocations: 54.45 kB / 0.8253 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.3884, allocations: 41.31 kB / 0.8254 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.3887, allocations: 269.1 kB / 0.8256 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.164e-05/0.3888, allocations: 88.56 kB / 0.8257 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.3888, allocations: 13.78 kB / 0.8257 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.3888, allocations: 1.281 kB / 0.8257 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.002434/0.3913, allocations: 1.753 MB / 0.8274 GB, free: 12.32 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.240550990216434] Failed to read output from testmodel.py, exit status != 0: 0.39621486281976104 0.405121828 0.02015486 Calling exit ...