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.000742/0.000742, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008127/0.0008127, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9352/0.9352, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.7655/0.7655, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [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: 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.0008722/0.0008722, allocations: 77.66 kB / 0.7181 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4857/0.4866, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002024/0.4886, allocations: 1.781 MB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002485/0.4889, allocations: 116.1 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.489, allocations: 7.844 kB / 0.8196 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.727e-05/0.4891, allocations: 12.8 kB / 0.8196 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.876e-05/0.4891, allocations: 50.81 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.4892, allocations: 40.88 kB / 0.8197 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.4894, allocations: 169.7 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.4895, allocations: 18.39 kB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.925e-05/0.4896, allocations: 56.88 kB / 0.8199 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.405e-05/0.4897, allocations: 66.47 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.4897, allocations: 9.656 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.806e-05/0.4897, allocations: 10.97 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.4898, allocations: 23.28 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.4898, allocations: 55.3 kB / 0.8201 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.49, allocations: 127.7 kB / 0.8202 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.49, allocations: 4.609 kB / 0.8202 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.49, allocations: 0 / 0.8202 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.49, allocations: 0 / 0.8202 GB, free: 15.44 MB / 0.6198 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.000532/0.4905, allocations: 382.7 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4906, allocations: 9.5 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.4906, allocations: 36.58 kB / 0.8206 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.4906, allocations: 11.2 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.4908, allocations: 159.4 kB / 0.8208 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.4908, allocations: 8.219 kB / 0.8208 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.4908, allocations: 9.5 kB / 0.8208 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.491, allocations: 117.4 kB / 0.8209 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.491, allocations: 7.922 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.491, allocations: 0 / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.4911, allocations: 6.688 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.4912, allocations: 100.8 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.4917, allocations: 427.5 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.492, allocations: 121.8 kB / 0.8216 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.232e-05/0.4921, allocations: 59.52 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.4921, allocations: 4.297 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.4921, allocations: 35.75 kB / 0.8217 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.4921, allocations: 0 / 0.8217 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003993/0.4925, allocations: 183.2 kB / 0.8218 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.4925, allocations: 79.39 kB / 0.8219 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.4927, allocations: 173.2 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.4927, allocations: 34.5 kB / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.4927, allocations: 105.1 kB / 0.8222 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.4927, allocations: 29.38 kB / 0.8222 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.4928, allocations: 26.88 kB / 0.8223 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.4929, allocations: 326 kB / 0.8226 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.555e-05/0.4929, allocations: 43.69 kB / 0.8226 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.437e-05/0.493, allocations: 58.62 kB / 0.8227 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.4932, allocations: 104.8 kB / 0.8228 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4932, allocations: 0 / 0.8228 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002084/0.4934, allocations: 140.5 kB / 0.8229 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.4934, allocations: 5.766 kB / 0.8229 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4934, allocations: 5.156 kB / 0.8229 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.4934, allocations: 1.125 kB / 0.8229 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.4935, allocations: 26.31 kB / 0.8229 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.4935, allocations: 5.406 kB / 0.8229 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.4936, allocations: 21.92 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.4936, allocations: 6.531 kB / 0.823 GB, free: 13.28 MB / 0.6198 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 6.14e-05/0.4936, allocations: 120.1 kB / 0.8231 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.4937, allocations: 10.86 kB / 0.8231 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.4939, allocations: 156.2 kB / 0.8232 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4939, allocations: 5.375 kB / 0.8233 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4939, allocations: 3.938 kB / 0.8233 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4939, allocations: 8.219 kB / 0.8233 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.4941, allocations: 178.8 kB / 0.8234 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4941, allocations: 1.688 kB / 0.8234 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-05/0.4942, allocations: 22.23 kB / 0.8235 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4942, allocations: 5.469 kB / 0.8235 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.4942, allocations: 4.531 kB / 0.8235 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4942, allocations: 0 / 0.8235 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4942, allocations: 1.469 kB / 0.8235 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.4944, allocations: 317.4 kB / 0.8238 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.4944, allocations: 15.02 kB / 0.8238 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.4944, allocations: 1.406 kB / 0.8238 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.4945, allocations: 12.95 kB / 0.8238 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.4946, allocations: 15.05 kB / 0.8238 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.4946, allocations: 1.5 kB / 0.8238 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.425e-05/0.4946, allocations: 126.6 kB / 0.8239 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4946, allocations: 0 / 0.8239 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001885/0.4948, allocations: 32.75 kB / 0.824 GB, free: 12.51 MB / 0.6198 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.0004213/0.4953, allocations: 0.8362 MB / 0.8248 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.4955, allocations: 96.55 kB / 0.8249 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4955, allocations: 1.094 kB / 0.8249 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.073e-05/0.4956, allocations: 58.59 kB / 0.8249 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.4959, allocations: 46.39 kB / 0.825 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.4973, allocations: 1.835 MB / 0.8268 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.312e-05/0.4974, allocations: 89.19 kB / 0.8269 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.747e-05/0.4975, allocations: 14.11 kB / 0.8269 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.4975, allocations: 31.95 kB / 0.8269 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.4975, allocations: 3.938 kB / 0.8269 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.5186, allocations: 4.497 MB / 0.8313 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.963/7.482, allocations: 7.031 kB / 0.8313 GB, free: 8.988 MB / 0.6198 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.SetPoints.Examples.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_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.397191531024873] Failed to read output from testmodel.py, exit status != 0: 7.560577876865864 7.570803758 7.078583658 Calling exit ...