Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007497/0.0007497, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007672/0.0007672, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9486/0.9486, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7484/0.7484, allocations: 154.5 MB / 413.7 MB, free: 0.8438 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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.796e-05, allocations: 5.234 kB / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002179/0.002197, allocations: 1.907 MB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.003968, allocations: 1.583 MB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.004168, allocations: 15.88 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.726e-05/0.004266, allocations: 55.27 kB / 0.6215 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.00449, allocations: 99.02 kB / 0.6216 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006335/0.005124, allocations: 307.9 kB / 0.6219 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005558/0.00568, allocations: 0.6525 MB / 0.6225 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003199/0.006, allocations: 254.3 kB / 0.6228 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.006317, allocations: 359.3 kB / 0.6231 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.006526, allocations: 187.4 kB / 0.6233 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.865e-05/0.006594, allocations: 72 kB / 0.6233 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.006707, allocations: 87.98 kB / 0.6234 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.006779, allocations: 123.6 kB / 0.6235 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.006921, allocations: 203.5 kB / 0.6237 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006219/0.007543, allocations: 0.8409 MB / 0.6246 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.007545, allocations: 0 / 0.6246 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.102e-06/0.007546, allocations: 4 kB / 0.6246 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.007556, allocations: 0 / 0.6246 GB, free: 7.031 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.0009917/0.008548, allocations: 0.7446 MB / 0.6253 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.00859, allocations: 9.469 kB / 0.6253 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.228e-05/0.008662, allocations: 98.7 kB / 0.6254 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.00882, allocations: 68.55 kB / 0.6255 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.00914, allocations: 297.7 kB / 0.6257 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.009171, allocations: 49.69 kB / 0.6258 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.009218, allocations: 56.38 kB / 0.6258 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.009797, allocations: 0.5071 MB / 0.6263 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.009812, allocations: 4.188 kB / 0.6263 GB, free: 5.125 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.009841, allocations: 20.38 kB / 0.6264 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.009853, allocations: 16.12 kB / 0.6264 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/0.01033, allocations: 357.1 kB / 0.6267 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.0118, allocations: 1.256 MB / 0.6279 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.01218, allocations: 265.1 kB / 0.6282 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.01243, allocations: 165.6 kB / 0.6284 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.01246, allocations: 19.86 kB / 0.6284 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.01273, allocations: 195 kB / 0.6286 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=34): time 1.362e-06/0.01273, allocations: 0 / 0.6286 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34): time 0.0005666/0.0133, allocations: 397.9 kB / 0.6289 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.01335, allocations: 81.11 kB / 0.629 GB, free: 2.277 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.01368, allocations: 425.5 kB / 0.6294 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.01371, allocations: 37.64 kB / 0.6295 GB, free: 1.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.01386, allocations: 268.4 kB / 0.6297 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/0.01393, allocations: 115 kB / 0.6298 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.736e-05/0.01402, allocations: 82.19 kB / 0.6299 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.01414, allocations: 350.8 kB / 0.6302 GB, free: 1.004 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.01435, allocations: 158.6 kB / 0.6304 GB, free: 0.8398 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.01456, allocations: 237.5 kB / 0.6306 GB, free: 0.582 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.01492, allocations: 357.6 kB / 0.631 GB, free: 212 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.01492, allocations: 0 / 0.631 GB, free: 212 kB / 0.5886 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005596/0.01548, allocations: 0.4908 MB / 0.6314 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.01552, allocations: 41.69 kB / 0.6315 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01553, allocations: 0 / 0.6315 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.01554, allocations: 7.938 kB / 0.6315 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.01571, allocations: 83.84 kB / 0.6316 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.01572, allocations: 4 kB / 0.6316 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.01591, allocations: 79.47 kB / 0.6316 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.01593, allocations: 24.03 kB / 0.6317 GB, free: 15.46 MB / 0.6042 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.0001419/0.01607, allocations: 174.8 kB / 0.6318 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.0161, allocations: 35.77 kB / 0.6319 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.01651, allocations: 335.3 kB / 0.6322 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.01651, allocations: 4 kB / 0.6322 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01652, allocations: 0 / 0.6322 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.01653, allocations: 4 kB / 0.6322 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007685/0.01729, allocations: 0.888 MB / 0.6331 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.0173, allocations: 4 kB / 0.6331 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.01742, allocations: 59.84 kB / 0.6331 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.01743, allocations: 4 kB / 0.6331 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.01744, allocations: 8 kB / 0.6331 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.01744, allocations: 12.12 kB / 0.6331 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01745, allocations: 4 kB / 0.6332 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.01785, allocations: 0.5067 MB / 0.6336 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.0179, allocations: 55.58 kB / 0.6337 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.01793, allocations: 11.94 kB / 0.6337 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.01804, allocations: 11.98 kB / 0.6337 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.0181, allocations: 27.95 kB / 0.6337 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.01812, allocations: 12 kB / 0.6338 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002269/0.01834, allocations: 291.2 kB / 0.634 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.01834, allocations: 0 / 0.634 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003191/0.01866, allocations: 111.8 kB / 0.6341 GB, free: 12.8 MB / 0.6042 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.0006657/0.01933, allocations: 1.064 MB / 0.6352 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004805/0.01981, allocations: 388.8 kB / 0.6356 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.01981, allocations: 4 kB / 0.6356 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.01997, allocations: 130.4 kB / 0.6357 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.0204, allocations: 69.2 kB / 0.6357 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/0.02397, allocations: 3.91 MB / 0.6396 GB, free: 6.992 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.02415, allocations: 216.8 kB / 0.6398 GB, free: 6.754 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.02426, allocations: 51.19 kB / 0.6398 GB, free: 6.707 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.02442, allocations: 156.4 kB / 0.64 GB, free: 6.555 MB / 0.6042 GB Notification: Performance of SimCode: time 9.32e-07/0.02442, allocations: 4 kB / 0.64 GB, free: 6.551 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.04482, allocations: 8.138 MB / 0.6479 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/7.083, allocations: 5.875 kB / 0.6479 GB, free: 14.68 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > IDEAS_dev_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.002969269640744] Failed to read output from testmodel.py, exit status != 0: 7.1739858677610755 7.185113801 7.175777208 Calling exit ...