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.0008773/0.0008773, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009841/0.0009841, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.8369/0.8369, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.6746/0.6746, allocations: 154.6 MB / 414.5 MB, free: 0.8633 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.6192 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.764e-05, allocations: 2.281 kB / 0.6192 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001726/0.001744, allocations: 1.792 MB / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002296/0.001974, allocations: 119.6 kB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.002043, allocations: 3.938 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.078e-05/0.002134, allocations: 11.86 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.174e-05/0.002196, allocations: 63.42 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.002303, allocations: 31.95 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.002456, allocations: 171.1 kB / 0.6214 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.002562, allocations: 21.28 kB / 0.6214 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.205e-05/0.002644, allocations: 83.8 kB / 0.6215 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.002714, allocations: 51.88 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.002742, allocations: 8 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.591e-05/0.002757, allocations: 16 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.002782, allocations: 23.91 kB / 0.6216 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.002821, allocations: 47.86 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.002955, allocations: 131.6 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.002958, allocations: 4 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.92e-07/0.002959, allocations: 0 / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.002963, allocations: 0 / 0.6217 GB, free: 10.71 MB / 0.5886 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.0004868/0.00345, allocations: 377.7 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.003485, allocations: 9.469 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.003521, allocations: 16.84 kB / 0.6221 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.003693, allocations: 149.5 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.003704, allocations: 4.375 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.003716, allocations: 4.375 kB / 0.6223 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.003891, allocations: 119.9 kB / 0.6224 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.0039, allocations: 192 / 0.6224 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.003911, allocations: 384 / 0.6224 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.003916, allocations: 12.31 kB / 0.6224 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.004073, allocations: 99.81 kB / 0.6225 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.004492, allocations: 388.5 kB / 0.6229 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.004722, allocations: 129.2 kB / 0.623 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.004805, allocations: 65.66 kB / 0.623 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.004824, allocations: 4 kB / 0.623 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.004838, allocations: 30.56 kB / 0.6231 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.004839, allocations: 0 / 0.6231 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0003275/0.005167, allocations: 181.5 kB / 0.6232 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.005204, allocations: 89.09 kB / 0.6233 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.594e-05/0.0053, allocations: 157.6 kB / 0.6235 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.00531, allocations: 29.7 kB / 0.6235 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.005358, allocations: 108.1 kB / 0.6236 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.005378, allocations: 35.69 kB / 0.6237 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.005412, allocations: 25.72 kB / 0.6237 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.005479, allocations: 318.8 kB / 0.624 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.00555, allocations: 43.95 kB / 0.624 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.607e-05/0.005626, allocations: 65.62 kB / 0.6241 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.005772, allocations: 101.9 kB / 0.6242 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005774, allocations: 0 / 0.6242 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.005955, allocations: 145.5 kB / 0.6243 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.005966, allocations: 7.984 kB / 0.6243 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.005971, allocations: 4 kB / 0.6243 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.005982, allocations: 4 kB / 0.6243 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.00605, allocations: 23.98 kB / 0.6244 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.006054, allocations: 0 / 0.6244 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.006102, allocations: 15.94 kB / 0.6244 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.00611, allocations: 4 kB / 0.6244 GB, free: 7.777 MB / 0.5886 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.537e-05/0.006175, allocations: 122.8 kB / 0.6245 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.0062, allocations: 15.89 kB / 0.6245 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.006418, allocations: 154.8 kB / 0.6247 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.006421, allocations: 4 kB / 0.6247 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.006424, allocations: 0 / 0.6247 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.006426, allocations: 0 / 0.6247 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.006566, allocations: 145.2 kB / 0.6248 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.006567, allocations: 0 / 0.6248 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/0.006633, allocations: 31.84 kB / 0.6248 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.006635, allocations: 7.938 kB / 0.6248 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.006642, allocations: 0 / 0.6248 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.006643, allocations: 4.188 kB / 0.6248 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.006645, allocations: 4.188 kB / 0.6248 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.006982, allocations: 310.6 kB / 0.6251 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.006997, allocations: 19.78 kB / 0.6252 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.007013, allocations: 11.98 kB / 0.6252 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.007089, allocations: 4 kB / 0.6252 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.007127, allocations: 7.984 kB / 0.6252 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.00713, allocations: 0 / 0.6252 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.007183, allocations: 132.9 kB / 0.6253 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007183, allocations: 0 / 0.6253 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001702/0.007354, allocations: 24 kB / 0.6253 GB, free: 6.734 MB / 0.5886 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.384e-05/0.007417, allocations: 99.23 kB / 0.6254 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001902/0.007608, allocations: 99.88 kB / 0.6255 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007609, allocations: 0 / 0.6255 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.735e-05/0.007686, allocations: 59.91 kB / 0.6256 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.007946, allocations: 38.62 kB / 0.6256 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.008266, allocations: 252 kB / 0.6259 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.567e-05/0.008321, allocations: 93.41 kB / 0.6259 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.008366, allocations: 16.44 kB / 0.626 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of SimCode: time 3.7e-07/0.008367, allocations: 3.938 kB / 0.626 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of Templates: time 0.001998/0.01036, allocations: 1.762 MB / 0.6277 GB, free: 4.289 MB / 0.5886 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: 4.836918577551842] Failed to read output from testmodel.py, exit status != 0: 0.014626869931817055 0.021712939 0.017292429 Calling exit ...