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.0008515/0.0008515, allocations: 80.45 kB / 19.15 MB, free: 0.7656 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.001097/0.001097, allocations: 162 kB / 22.43 MB, free: 2.137 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.8546/0.8546, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.7021/0.7021, allocations: 155 MB / 414.2 MB, free: 472 kB / 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: 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.00101/0.00101, allocations: 68.09 kB / 0.6186 GB, free: 13.3 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.4561, allocations: 102 MB / 0.7182 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002358/0.4585, allocations: 1.922 MB / 0.7201 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002176/0.4607, allocations: 1.573 MB / 0.7216 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.461, allocations: 7.75 kB / 0.7216 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.4612, allocations: 60.8 kB / 0.7217 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.4615, allocations: 100.4 kB / 0.7218 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006788/0.4622, allocations: 302 kB / 0.7221 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.4627, allocations: 0.6389 MB / 0.7227 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.4631, allocations: 250.6 kB / 0.7229 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.4634, allocations: 374 kB / 0.7233 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.4636, allocations: 226.4 kB / 0.7235 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.489e-05/0.4637, allocations: 71.59 kB / 0.7236 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.4639, allocations: 87.05 kB / 0.7237 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.4639, allocations: 135.7 kB / 0.7238 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.4642, allocations: 242.1 kB / 0.724 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009738/0.4651, allocations: 0.8695 MB / 0.7249 GB, free: 19 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4651, allocations: 1.094 kB / 0.7249 GB, free: 19 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.735e-06/0.4651, allocations: 0 / 0.7249 GB, free: 19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.758e-05/0.4652, allocations: 0 / 0.7249 GB, free: 19 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.001021/0.4662, allocations: 0.7536 MB / 0.7256 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4662, allocations: 19.69 kB / 0.7256 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.757e-05/0.4663, allocations: 101.4 kB / 0.7257 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.4665, allocations: 69.14 kB / 0.7258 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.4668, allocations: 298.1 kB / 0.7261 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.4669, allocations: 49.47 kB / 0.7261 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.4669, allocations: 54.97 kB / 0.7262 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/0.4675, allocations: 0.5063 MB / 0.7267 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4675, allocations: 3.938 kB / 0.7267 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.4676, allocations: 22 kB / 0.7267 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.4676, allocations: 13.23 kB / 0.7267 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005105/0.4681, allocations: 360.2 kB / 0.727 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.4699, allocations: 1.255 MB / 0.7283 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.4704, allocations: 273.8 kB / 0.7285 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.4707, allocations: 169.8 kB / 0.7287 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.4707, allocations: 4.844 kB / 0.7287 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003718/0.4711, allocations: 192.7 kB / 0.7289 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=34): time 1.854e-06/0.4711, allocations: 0 / 0.7289 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34): time 0.0006331/0.4717, allocations: 401 kB / 0.7293 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.4718, allocations: 82.84 kB / 0.7293 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.4721, allocations: 416.8 kB / 0.7297 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.4722, allocations: 32.2 kB / 0.7298 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.4723, allocations: 276.5 kB / 0.73 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.4724, allocations: 114.1 kB / 0.7301 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.4725, allocations: 85.17 kB / 0.7302 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.4726, allocations: 357.8 kB / 0.7306 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.4728, allocations: 166.9 kB / 0.7307 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.4731, allocations: 236.5 kB / 0.731 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.4735, allocations: 348 kB / 0.7313 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4735, allocations: 6.281 kB / 0.7313 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000641/0.4742, allocations: 0.4937 MB / 0.7318 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.4742, allocations: 40.06 kB / 0.7318 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.4742, allocations: 1.375 kB / 0.7318 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.4742, allocations: 4.125 kB / 0.7318 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.4744, allocations: 82.64 kB / 0.7319 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.4744, allocations: 16.66 kB / 0.7319 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.4746, allocations: 76.5 kB / 0.732 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.4747, allocations: 17.78 kB / 0.732 GB, free: 14.55 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.0001224/0.4748, allocations: 172.7 kB / 0.7322 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.4748, allocations: 47.62 kB / 0.7322 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.4753, allocations: 327.2 kB / 0.7325 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.4753, allocations: 7.812 kB / 0.7325 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4753, allocations: 3.938 kB / 0.7325 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4753, allocations: 3.734 kB / 0.7325 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008113/0.4761, allocations: 0.8779 MB / 0.7334 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.4761, allocations: 3.031 kB / 0.7334 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.4762, allocations: 66 kB / 0.7335 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.4762, allocations: 3.797 kB / 0.7335 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.4763, allocations: 12.16 kB / 0.7335 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.4763, allocations: 7.703 kB / 0.7335 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4763, allocations: 1.953 kB / 0.7335 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.4766, allocations: 0.5108 MB / 0.734 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.4767, allocations: 50.2 kB / 0.734 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.4767, allocations: 8.797 kB / 0.734 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.4768, allocations: 17.08 kB / 0.7341 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.4769, allocations: 33.03 kB / 0.7341 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.4769, allocations: 13.77 kB / 0.7341 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002309/0.4772, allocations: 288 kB / 0.7344 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4772, allocations: 0 / 0.7344 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003241/0.4775, allocations: 112.6 kB / 0.7345 GB, free: 12.98 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.0005493/0.478, allocations: 1.058 MB / 0.7355 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004859/0.4785, allocations: 391.8 kB / 0.7359 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4785, allocations: 0 / 0.7359 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.4787, allocations: 133.5 kB / 0.736 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.4791, allocations: 65.64 kB / 0.7361 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/0.4825, allocations: 3.904 MB / 0.7399 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.4827, allocations: 225.7 kB / 0.7401 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.4829, allocations: 48.23 kB / 0.7402 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.483, allocations: 157.2 kB / 0.7403 GB, free: 9 MB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.483, allocations: 0 / 0.7403 GB, free: 9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.5066, allocations: 8.176 MB / 0.7483 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/7.152, allocations: 2.281 kB / 0.7483 GB, free: 7.594 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.764866879908368] Failed to read output from testmodel.py, exit status != 0: 7.23285346897319 7.243802204 6.776696568 Calling exit ...