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.0008129/0.0008129, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.001974, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007704/0.0007704, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001091/0.001861, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9836/0.9836, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09005/1.074, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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-545:108: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-545:116: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.8344/0.8344, allocations: 154.6 MB / 398.5 MB, free: 0.5195 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2726/1.107, allocations: 49.04 MB / 447.6 MB, free: 6.691 MB / 426.7 MB " [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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 3.938 kB / 448.8 MB, free: 5.457 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.465e-05, allocations: 4.562 kB / 448.8 MB, free: 5.453 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002182/0.002197, allocations: 2.026 MB / 450.9 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.003908, allocations: 1.639 MB / 452.5 MB, free: 1.844 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.004074, allocations: 8 kB / 452.5 MB, free: 1.836 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.7e-05/0.004161, allocations: 59.2 kB / 452.6 MB, free: 1.777 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.004323, allocations: 99.72 kB / 452.7 MB, free: 1.68 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.004726, allocations: 304.4 kB / 453 MB, free: 1.387 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004347/0.005161, allocations: 0.6408 MB / 453.6 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.005427, allocations: 260.2 kB / 453.9 MB, free: 488 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003065/0.005734, allocations: 400.8 kB / 454.2 MB, free: 88 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.005902, allocations: 183.5 kB / 454.4 MB, free: 15.9 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.978e-05/0.005962, allocations: 72 kB / 454.5 MB, free: 15.83 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.006079, allocations: 91.92 kB / 454.6 MB, free: 15.74 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.006139, allocations: 96.56 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.006255, allocations: 167.5 kB / 454.8 MB, free: 15.49 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.006597, allocations: 406.3 kB / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.006609, allocations: 1.281 kB / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006609, allocations: 0 / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.006625, allocations: 0 / 455.2 MB, free: 15.09 MB / 442.7 MB 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.000768/0.007394, allocations: 0.8403 MB / 456.1 MB, free: 14.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.597e-05/0.007419, allocations: 8.938 kB / 456.1 MB, free: 14.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.007619, allocations: 174 kB / 456.3 MB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.00784, allocations: 224.4 kB / 456.5 MB, free: 13.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.007871, allocations: 46.31 kB / 456.5 MB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.007909, allocations: 52.38 kB / 456.6 MB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.008234, allocations: 385.6 kB / 456.9 MB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.008245, allocations: 4.125 kB / 457 MB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.008265, allocations: 24.38 kB / 457 MB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.008276, allocations: 16.38 kB / 457 MB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.008409, allocations: 125.8 kB / 457.1 MB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009274/0.009336, allocations: 0.8978 MB / 458 MB, free: 12.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.009553, allocations: 169 kB / 458.2 MB, free: 12.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.009675, allocations: 97.59 kB / 458.3 MB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.009698, allocations: 8 kB / 458.3 MB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.009855, allocations: 152.6 kB / 458.4 MB, free: 11.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.263e-06/0.009856, allocations: 4 kB / 458.4 MB, free: 11.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002134/0.01007, allocations: 191.1 kB / 458.6 MB, free: 11.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.01011, allocations: 82.33 kB / 458.7 MB, free: 11.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.01026, allocations: 248.9 kB / 458.9 MB, free: 11.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.01028, allocations: 33.7 kB / 459 MB, free: 11.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.0104, allocations: 277.8 kB / 459.2 MB, free: 10.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.01045, allocations: 111 kB / 459.4 MB, free: 10.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.01052, allocations: 82.66 kB / 459.4 MB, free: 10.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.0106, allocations: 347.4 kB / 459.8 MB, free: 10.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-05/0.01068, allocations: 78.67 kB / 459.9 MB, free: 10.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.75e-05/0.01078, allocations: 154.1 kB / 460 MB, free: 10.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.01095, allocations: 208.4 kB / 460.2 MB, free: 9.859 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01095, allocations: 0.9375 kB / 460.2 MB, free: 9.859 MB / 442.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000251/0.0112, allocations: 305.8 kB / 460.5 MB, free: 9.547 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.01123, allocations: 37.7 kB / 460.5 MB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.01124, allocations: 0 / 460.5 MB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.01125, allocations: 4.906 kB / 460.5 MB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.01144, allocations: 92.83 kB / 460.6 MB, free: 9.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.01144, allocations: 7.938 kB / 460.6 MB, free: 9.402 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.01157, allocations: 60.95 kB / 460.7 MB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.01159, allocations: 16 kB / 460.7 MB, free: 9.328 MB / 442.7 MB 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 9.015e-05/0.01168, allocations: 134.4 kB / 460.9 MB, free: 9.188 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.0117, allocations: 32.75 kB / 460.9 MB, free: 9.156 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.01188, allocations: 174.4 kB / 461.1 MB, free: 8.984 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01189, allocations: 4 kB / 461.1 MB, free: 8.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01189, allocations: 1.062 kB / 461.1 MB, free: 8.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01189, allocations: 3.984 kB / 461.1 MB, free: 8.977 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.01232, allocations: 0.5524 MB / 461.6 MB, free: 8.383 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01232, allocations: 0.7188 kB / 461.6 MB, free: 8.383 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.01245, allocations: 69.39 kB / 461.7 MB, free: 8.316 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.01248, allocations: 31.75 kB / 461.7 MB, free: 8.285 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01248, allocations: 5.688 kB / 461.7 MB, free: 8.281 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.01249, allocations: 8 kB / 461.7 MB, free: 8.273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.0125, allocations: 5.5 kB / 461.7 MB, free: 8.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.0125, allocations: 7.922 kB / 461.7 MB, free: 8.262 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.0127, allocations: 367.5 kB / 462.1 MB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.01272, allocations: 9.812 kB / 462.1 MB, free: 7.859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.01281, allocations: 8 kB / 462.1 MB, free: 7.852 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.01285, allocations: 35.77 kB / 462.2 MB, free: 7.816 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.01287, allocations: 12 kB / 462.2 MB, free: 7.805 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.829e-05/0.01292, allocations: 91.31 kB / 462.3 MB, free: 7.715 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01292, allocations: 0 / 462.3 MB, free: 7.715 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002525/0.01318, allocations: 116.2 kB / 462.4 MB, free: 7.602 MB / 442.7 MB 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 9.146e-05/0.01327, allocations: 101.7 kB / 462.5 MB, free: 7.496 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.0135, allocations: 281.3 kB / 462.7 MB, free: 7.203 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.01351, allocations: 5.156 kB / 462.7 MB, free: 7.199 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.3e-05/0.01359, allocations: 81.53 kB / 462.8 MB, free: 7.117 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.01385, allocations: 75.28 kB / 462.9 MB, free: 7.051 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.01611, allocations: 0.7507 MB / 463.7 MB, free: 6.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.275e-05/0.01619, allocations: 113.2 kB / 463.8 MB, free: 6.121 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.451e-05/0.01627, allocations: 30.69 kB / 463.8 MB, free: 6.098 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.01642, allocations: 105.6 kB / 463.9 MB, free: 5.996 MB / 442.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01642, allocations: 0 / 463.9 MB, free: 5.996 MB / 442.7 MB Notification: Performance of Templates: time 0.005863/0.02228, allocations: 3.708 MB / 467.6 MB, free: 2.637 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7259856071323156]