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.0008653/0.0008653, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.001484/0.001484, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9429/0.9429, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7402/0.7402, allocations: 154.5 MB / 413.7 MB, free: 0.8203 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: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.254e-05, allocations: 5.234 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002209/0.002231, allocations: 1.779 MB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002644/0.002496, allocations: 123.6 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.289e-05/0.002569, allocations: 4 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.621e-05/0.002665, allocations: 15.8 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.787e-05/0.002733, allocations: 51.48 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.002847, allocations: 31.95 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.00301, allocations: 183.1 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.003117, allocations: 25.16 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.003209, allocations: 79.86 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.003282, allocations: 51.88 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.003308, allocations: 12 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.003324, allocations: 8 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.003348, allocations: 23.91 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.003388, allocations: 47.86 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.003527, allocations: 131.6 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003529, allocations: 0 / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.292e-06/0.00353, allocations: 0 / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.003534, allocations: 4 kB / 0.6205 GB, free: 11.2 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.0004837/0.004018, allocations: 377.7 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.004056, allocations: 9.469 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.004087, allocations: 38.75 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.004113, allocations: 16.84 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.004295, allocations: 149.1 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.004304, allocations: 8.312 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.004316, allocations: 8.375 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.004512, allocations: 119.8 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.004519, allocations: 192 / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.00453, allocations: 8.375 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.004536, allocations: 4.125 kB / 0.6212 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.004703, allocations: 99.84 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.005172, allocations: 415.9 kB / 0.6217 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.005423, allocations: 125.2 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.998e-05/0.005513, allocations: 57.77 kB / 0.6219 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.005533, allocations: 7.984 kB / 0.6219 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.005549, allocations: 34.56 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.005551, allocations: 7.938 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.00034/0.005891, allocations: 169.6 kB / 0.6221 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.005926, allocations: 85.05 kB / 0.6222 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.006031, allocations: 167.3 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.006044, allocations: 29.7 kB / 0.6223 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.006096, allocations: 108 kB / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.006116, allocations: 43.7 kB / 0.6225 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.006153, allocations: 29.7 kB / 0.6225 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.006231, allocations: 326.8 kB / 0.6228 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.006315, allocations: 43.97 kB / 0.6229 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.036e-05/0.006395, allocations: 53.69 kB / 0.6229 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.006553, allocations: 105.6 kB / 0.623 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006555, allocations: 4 kB / 0.623 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/0.006751, allocations: 145.8 kB / 0.6232 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.006762, allocations: 4 kB / 0.6232 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.006766, allocations: 0 / 0.6232 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.006777, allocations: 0 / 0.6232 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.006854, allocations: 27.92 kB / 0.6232 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.006858, allocations: 0 / 0.6232 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/0.006912, allocations: 19.94 kB / 0.6232 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.006919, allocations: 0 / 0.6232 GB, free: 8.18 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 7.386e-05/0.006993, allocations: 126.8 kB / 0.6233 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.007021, allocations: 11.91 kB / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.00726, allocations: 158.7 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007262, allocations: 0 / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.00727, allocations: 4 kB / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007273, allocations: 7.938 kB / 0.6235 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.007447, allocations: 176.6 kB / 0.6237 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007448, allocations: 4 kB / 0.6237 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.00751, allocations: 19.98 kB / 0.6237 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.007512, allocations: 0 / 0.6237 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.007519, allocations: 0 / 0.6237 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.007522, allocations: 4 kB / 0.6237 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007523, allocations: 0 / 0.6237 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.00775, allocations: 322.5 kB / 0.624 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.007767, allocations: 11.91 kB / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.007782, allocations: 288 / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.21e-05/0.007864, allocations: 11.98 kB / 0.624 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.007901, allocations: 11.92 kB / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.007907, allocations: 8.125 kB / 0.6241 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.804e-05/0.007975, allocations: 125.5 kB / 0.6242 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.1e-08/0.007975, allocations: 0 / 0.6242 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001832/0.008158, allocations: 28 kB / 0.6242 GB, free: 7.094 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 0.0004084/0.008567, allocations: 0.8405 MB / 0.625 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.008766, allocations: 103.9 kB / 0.6251 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008768, allocations: 0 / 0.6251 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.288e-05/0.008851, allocations: 55.89 kB / 0.6252 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.00914, allocations: 39.97 kB / 0.6252 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.01078, allocations: 1.828 MB / 0.627 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.474e-05/0.01084, allocations: 97.66 kB / 0.6271 GB, free: 4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.545e-05/0.0109, allocations: 16.73 kB / 0.6271 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.215e-05/0.01096, allocations: 40.42 kB / 0.6271 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.01096, allocations: 0 / 0.6271 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.03001, allocations: 4.613 MB / 0.6317 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/6.876, allocations: 2.188 kB / 0.6317 GB, free: 15.58 MB / 0.6042 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.674536218866706] Failed to read output from testmodel.py, exit status != 0: 6.958033369854093 6.968313402 6.962931404 Calling exit ...