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.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.000765/0.000765, allocations: 72.5 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.0007958/0.0007958, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.8694/0.8694, allocations: 177.1 MB / 203.5 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6962/0.6962, allocations: 154.6 MB / 414.5 MB, free: 0.7344 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.52e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001726/0.001741, allocations: 1.78 MB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002199/0.001961, allocations: 123.6 kB / 0.6211 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.002026, allocations: 0 / 0.6211 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.92e-05/0.002115, allocations: 15.86 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.52e-05/0.00218, allocations: 63.42 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 9.906e-05/0.002279, allocations: 31.95 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.002422, allocations: 175 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.002519, allocations: 17.3 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.845e-05/0.002597, allocations: 87.78 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.899e-05/0.002666, allocations: 47.89 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.002693, allocations: 8 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.002709, allocations: 12 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.00273, allocations: 27.91 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.002768, allocations: 47.84 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.002898, allocations: 139.5 kB / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.0029, allocations: 0 / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.92e-07/0.002901, allocations: 0 / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.002904, allocations: 0 / 0.6218 GB, free: 10.62 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.0004727/0.003376, allocations: 373.7 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.003412, allocations: 12.03 kB / 0.6222 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.003443, allocations: 16.84 kB / 0.6222 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.003609, allocations: 145.6 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.003619, allocations: 4.375 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.003632, allocations: 8.375 kB / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.003808, allocations: 122.8 kB / 0.6224 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.003816, allocations: 192 / 0.6224 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.003826, allocations: 4.312 kB / 0.6224 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.003832, allocations: 8.375 kB / 0.6225 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.003993, allocations: 99.81 kB / 0.6225 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.004411, allocations: 392.4 kB / 0.6229 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.004646, allocations: 125.2 kB / 0.623 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.599e-05/0.004732, allocations: 61.78 kB / 0.6231 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.004751, allocations: 4 kB / 0.6231 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.004765, allocations: 30.56 kB / 0.6231 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.004766, allocations: 0 / 0.6231 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0003295/0.005096, allocations: 181.5 kB / 0.6233 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.00513, allocations: 89.09 kB / 0.6234 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/0.005227, allocations: 157.6 kB / 0.6235 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.005239, allocations: 29.7 kB / 0.6236 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.005289, allocations: 108 kB / 0.6237 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.005307, allocations: 31.7 kB / 0.6237 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.005347, allocations: 25.7 kB / 0.6237 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.005417, allocations: 326.8 kB / 0.624 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/0.005489, allocations: 39.97 kB / 0.6241 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/0.005567, allocations: 61.69 kB / 0.6241 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.005717, allocations: 101.9 kB / 0.6242 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005718, allocations: 0 / 0.6242 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.005902, allocations: 145.5 kB / 0.6244 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.005915, allocations: 11.98 kB / 0.6244 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.005919, allocations: 0 / 0.6244 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.005931, allocations: 4 kB / 0.6244 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.006001, allocations: 19.98 kB / 0.6244 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.006006, allocations: 4 kB / 0.6244 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.006055, allocations: 19.88 kB / 0.6244 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.006062, allocations: 4 kB / 0.6244 GB, free: 7.691 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 5.736e-05/0.006119, allocations: 114.8 kB / 0.6245 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.006145, allocations: 15.89 kB / 0.6246 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.006375, allocations: 166.9 kB / 0.6247 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.006377, allocations: 4 kB / 0.6247 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.006381, allocations: 0 / 0.6247 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.006383, allocations: 0 / 0.6247 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.006537, allocations: 149.3 kB / 0.6249 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.006539, allocations: 3.938 kB / 0.6249 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.999e-05/0.006599, allocations: 27.91 kB / 0.6249 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.006601, allocations: 4.188 kB / 0.6249 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.006608, allocations: 0 / 0.6249 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006609, allocations: 7.938 kB / 0.6249 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006609, allocations: 192 / 0.6249 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.006819, allocations: 310.7 kB / 0.6252 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.006835, allocations: 23.77 kB / 0.6252 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.006849, allocations: 4 kB / 0.6252 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.006927, allocations: 8 kB / 0.6252 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.006961, allocations: 7.984 kB / 0.6252 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.006965, allocations: 0 / 0.6252 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.007018, allocations: 128.9 kB / 0.6254 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.007018, allocations: 0 / 0.6254 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001791/0.007197, allocations: 28 kB / 0.6254 GB, free: 6.648 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.852e-05/0.007266, allocations: 103.2 kB / 0.6255 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.007458, allocations: 99.88 kB / 0.6256 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.00746, allocations: 0 / 0.6256 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.007539, allocations: 55.97 kB / 0.6256 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.007794, allocations: 32 kB / 0.6257 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005645/0.008359, allocations: 263.8 kB / 0.6259 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.18e-05/0.008421, allocations: 93.31 kB / 0.626 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.008466, allocations: 12.5 kB / 0.626 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of SimCode: time 2.71e-07/0.008466, allocations: 0 / 0.626 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of Templates: time 0.001969/0.01044, allocations: 1.777 MB / 0.6278 GB, free: 4.191 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.906103298999369] Failed to read output from testmodel.py, exit status != 0: 0.014585306867957115 0.022273253 0.017605818000000002 Calling exit ...