Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.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.001287/0.001287, allocations: 76.45 kB / 19.9 MB, free: 16 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.001153/0.001153, allocations: 169.8 kB / 23.18 MB, free: 1.383 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.9288/0.9288, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.7159/0.7159, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.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.0008486/0.0008486, allocations: 85.05 kB / 0.6195 GB, free: 13.17 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.5362, allocations: 101.9 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002555/0.5388, allocations: 1.913 MB / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.5404, allocations: 1.573 MB / 0.7225 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.5406, allocations: 8.156 kB / 0.7225 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.5407, allocations: 60.09 kB / 0.7225 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.5409, allocations: 92.45 kB / 0.7226 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000776/0.5417, allocations: 317.8 kB / 0.7229 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007331/0.5425, allocations: 0.639 MB / 0.7236 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/0.5429, allocations: 253.8 kB / 0.7238 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.5433, allocations: 378.8 kB / 0.7242 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.5436, allocations: 222.2 kB / 0.7244 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.5437, allocations: 70.59 kB / 0.7244 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.5439, allocations: 93.25 kB / 0.7245 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.831e-05/0.544, allocations: 125.8 kB / 0.7246 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.5442, allocations: 243.2 kB / 0.7249 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.5452, allocations: 0.8079 MB / 0.7257 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.5452, allocations: 4.547 kB / 0.7257 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5452, allocations: 0 / 0.7257 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.5452, allocations: 0 / 0.7257 GB, free: 19.57 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.00126/0.5465, allocations: 0.7584 MB / 0.7264 GB, free: 19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.5465, allocations: 12.62 kB / 0.7264 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.5468, allocations: 69.62 kB / 0.7265 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.5472, allocations: 301.6 kB / 0.7268 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.5472, allocations: 46.03 kB / 0.7268 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.5473, allocations: 55.12 kB / 0.7269 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006293/0.5479, allocations: 0.5015 MB / 0.7274 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.5479, allocations: 192 / 0.7274 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.548, allocations: 26.17 kB / 0.7274 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.548, allocations: 13.53 kB / 0.7274 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.5485, allocations: 360.8 kB / 0.7277 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.5498, allocations: 1.138 MB / 0.7289 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.5502, allocations: 265.6 kB / 0.7291 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.5504, allocations: 172.8 kB / 0.7293 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.5505, allocations: 9.391 kB / 0.7293 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003221/0.5508, allocations: 193.5 kB / 0.7295 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=34): time 1.392e-06/0.5508, allocations: 0 / 0.7295 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34): time 0.0005845/0.5514, allocations: 384.8 kB / 0.7298 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.5514, allocations: 86.19 kB / 0.7299 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.5517, allocations: 280.8 kB / 0.7302 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.5517, allocations: 33.45 kB / 0.7302 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.5518, allocations: 289 kB / 0.7305 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.5519, allocations: 113.5 kB / 0.7306 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.552, allocations: 87.59 kB / 0.7307 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.36e-05/0.552, allocations: 337.7 kB / 0.731 GB, free: 16.13 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.5523, allocations: 166.9 kB / 0.7312 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.5525, allocations: 243.9 kB / 0.7314 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.5528, allocations: 346.9 kB / 0.7317 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.5528, allocations: 1.969 kB / 0.7317 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005324/0.5534, allocations: 0.4937 MB / 0.7322 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.5534, allocations: 40.16 kB / 0.7323 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5534, allocations: 1.375 kB / 0.7323 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5534, allocations: 4.781 kB / 0.7323 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.5536, allocations: 78.12 kB / 0.7323 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.5536, allocations: 4.781 kB / 0.7323 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.5538, allocations: 72.3 kB / 0.7324 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.5538, allocations: 23.8 kB / 0.7324 GB, free: 15.33 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001142/0.554, allocations: 168.2 kB / 0.7326 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.554, allocations: 28.8 kB / 0.7326 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.5544, allocations: 319.2 kB / 0.7329 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.5544, allocations: 4.125 kB / 0.7329 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5544, allocations: 4.562 kB / 0.7329 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5544, allocations: 6.672 kB / 0.7329 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006765/0.5551, allocations: 0.814 MB / 0.7337 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5551, allocations: 1.312 kB / 0.7337 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.5552, allocations: 65.27 kB / 0.7338 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.5552, allocations: 5.109 kB / 0.7338 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.5552, allocations: 11.81 kB / 0.7338 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.5552, allocations: 3.641 kB / 0.7338 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5552, allocations: 6.859 kB / 0.7338 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.5556, allocations: 0.4933 MB / 0.7343 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.5556, allocations: 41.53 kB / 0.7343 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.5557, allocations: 12.92 kB / 0.7344 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.5558, allocations: 12.78 kB / 0.7344 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.5558, allocations: 29.22 kB / 0.7344 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.5558, allocations: 9.531 kB / 0.7344 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001317/0.556, allocations: 197.3 kB / 0.7346 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.556, allocations: 0 / 0.7346 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003015/0.5563, allocations: 125 kB / 0.7347 GB, free: 13.88 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000111/0.5564, allocations: 110.1 kB / 0.7348 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004624/0.5569, allocations: 401.8 kB / 0.7352 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5569, allocations: 0 / 0.7352 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.557, allocations: 133 kB / 0.7353 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.5574, allocations: 59.67 kB / 0.7354 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008251/0.5582, allocations: 0.729 MB / 0.7361 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.5584, allocations: 225.6 kB / 0.7363 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.818e-05/0.5585, allocations: 30.81 kB / 0.7363 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.5585, allocations: 30.72 kB / 0.7364 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.5585, allocations: 1.438 kB / 0.7364 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of Templates: time 0.006348/0.5649, allocations: 3.345 MB / 0.7396 GB, free: 12.5 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.460834960103966] Failed to read output from testmodel.py, exit status != 0: 0.570993771078065 0.585887282 0.037835680000000003 Calling exit ...