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.0006263/0.0006263, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007378/0.0007378, allocations: 211.1 kB / 23.01 MB, free: 3.113 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.8719/0.8719, allocations: 230.6 MB / 256.8 MB, free: 3.465 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.7484/0.7484, allocations: 203.8 MB / 0.5049 GB, free: 0.707 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.0009485/0.0009485, allocations: 75.89 kB / 0.7194 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4525, allocations: 102 MB / 0.8191 GB, free: 25.24 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002403/0.4549, allocations: 1.853 MB / 0.8209 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002694/0.4551, allocations: 117.3 kB / 0.821 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.4552, allocations: 6.344 kB / 0.821 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.4553, allocations: 12.56 kB / 0.821 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.169e-05/0.4554, allocations: 54.22 kB / 0.821 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.4555, allocations: 40.14 kB / 0.8211 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.4557, allocations: 170.8 kB / 0.8212 GB, free: 23.72 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.4559, allocations: 22.94 kB / 0.8213 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.071e-05/0.456, allocations: 49.52 kB / 0.8213 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.915e-05/0.456, allocations: 74.86 kB / 0.8214 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.4561, allocations: 15.19 kB / 0.8214 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.375e-05/0.4561, allocations: 9.719 kB / 0.8214 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.4561, allocations: 25.55 kB / 0.8214 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.4562, allocations: 60.81 kB / 0.8215 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.4564, allocations: 128.5 kB / 0.8216 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4564, allocations: 0 / 0.8216 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4564, allocations: 0.5938 kB / 0.8216 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.4564, allocations: 1.125 kB / 0.8216 GB, free: 23.55 MB / 0.6355 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.0005181/0.4569, allocations: 380.2 kB / 0.822 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4569, allocations: 14.03 kB / 0.822 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.457, allocations: 21.03 kB / 0.822 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.4572, allocations: 150.9 kB / 0.8222 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.4572, allocations: 7.156 kB / 0.8222 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.4572, allocations: 4.562 kB / 0.8222 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.4574, allocations: 119.5 kB / 0.8223 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.4574, allocations: 1.844 kB / 0.8223 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.4574, allocations: 5.625 kB / 0.8223 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4575, allocations: 1 kB / 0.8223 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.4576, allocations: 101.8 kB / 0.8224 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.4581, allocations: 445.2 kB / 0.8228 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.4584, allocations: 126.7 kB / 0.8229 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.143e-05/0.4585, allocations: 60.31 kB / 0.823 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.4585, allocations: 1.375 kB / 0.823 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.4585, allocations: 37.12 kB / 0.823 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.4585, allocations: 0 / 0.823 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003604/0.4589, allocations: 185.8 kB / 0.8232 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.4589, allocations: 79.58 kB / 0.8233 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.459, allocations: 173.3 kB / 0.8234 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.4591, allocations: 30.45 kB / 0.8235 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.4591, allocations: 104.8 kB / 0.8236 GB, free: 22 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.4591, allocations: 29.83 kB / 0.8236 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.4592, allocations: 25.38 kB / 0.8236 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.056e-05/0.4592, allocations: 335.4 kB / 0.8239 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.558e-05/0.4593, allocations: 38.22 kB / 0.824 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.046e-05/0.4594, allocations: 56.72 kB / 0.824 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.4596, allocations: 108.1 kB / 0.8241 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4596, allocations: 0.75 kB / 0.8241 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002601/0.4598, allocations: 142 kB / 0.8243 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.4599, allocations: 5.969 kB / 0.8243 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4599, allocations: 0.75 kB / 0.8243 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4599, allocations: 5 kB / 0.8243 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.46, allocations: 26.48 kB / 0.8243 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.46, allocations: 5.422 kB / 0.8243 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.16e-05/0.46, allocations: 17.3 kB / 0.8243 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.4601, allocations: 7.047 kB / 0.8243 GB, free: 21.45 MB / 0.6355 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.078e-05/0.4601, allocations: 119.8 kB / 0.8245 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.4602, allocations: 15.55 kB / 0.8245 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.4604, allocations: 163.4 kB / 0.8246 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4604, allocations: 2.031 kB / 0.8246 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4604, allocations: 5.125 kB / 0.8246 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4604, allocations: 0.8438 kB / 0.8246 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.4606, allocations: 192.2 kB / 0.8248 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4606, allocations: 0.9062 kB / 0.8248 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-05/0.4607, allocations: 25.34 kB / 0.8248 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4607, allocations: 0.5156 kB / 0.8248 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.4607, allocations: 1.469 kB / 0.8248 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.4607, allocations: 5.828 kB / 0.8248 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4607, allocations: 1.344 kB / 0.8248 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.4609, allocations: 313.8 kB / 0.8251 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.461, allocations: 13.77 kB / 0.8252 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.461, allocations: 2.156 kB / 0.8252 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.4611, allocations: 15.58 kB / 0.8252 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.4611, allocations: 7.422 kB / 0.8252 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.4611, allocations: 6.375 kB / 0.8252 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.097e-05/0.4612, allocations: 126.6 kB / 0.8253 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4612, allocations: 3.938 kB / 0.8253 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001902/0.4614, allocations: 25.78 kB / 0.8253 GB, free: 20.68 MB / 0.6355 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 7.225e-05/0.4614, allocations: 97.27 kB / 0.8254 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.4617, allocations: 102.7 kB / 0.8255 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4617, allocations: 0 / 0.8255 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.4617, allocations: 54.33 kB / 0.8256 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.462, allocations: 44.72 kB / 0.8256 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.4624, allocations: 269.8 kB / 0.8259 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.528e-05/0.4625, allocations: 0.7044 MB / 0.8266 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.4626, allocations: 14.84 kB / 0.8266 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/0.4626, allocations: 4 kB / 0.8266 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.003146/0.4657, allocations: 1.76 MB / 0.8283 GB, free: 19.46 MB / 0.6355 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.506812460022047] Failed to read output from testmodel.py, exit status != 0: 0.4725416451692581 0.487607949 0.028361168000000003 Calling exit ...