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.0007416/0.0007416, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0007914/0.0007914, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9725/0.9725, allocations: 230.6 MB / 256 MB, free: 9.793 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.796/0.796, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.0009635/0.0009635, allocations: 67.64 kB / 0.7182 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5788/0.5798, allocations: 102 MB / 0.8178 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002296/0.5821, allocations: 1.866 MB / 0.8196 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003019/0.5824, allocations: 116.1 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.5825, allocations: 1.969 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.5826, allocations: 15.98 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.576e-05/0.5827, allocations: 52.95 kB / 0.8198 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.5829, allocations: 37.81 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.5831, allocations: 167.2 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.5833, allocations: 26.59 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.941e-05/0.5834, allocations: 50.89 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.5835, allocations: 65.33 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.5835, allocations: 14.31 kB / 0.8202 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.327e-05/0.5835, allocations: 9.406 kB / 0.8202 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.5836, allocations: 33.48 kB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.989e-05/0.5836, allocations: 64.55 kB / 0.8203 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.5839, allocations: 126.2 kB / 0.8204 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.5839, allocations: 0 / 0.8204 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.196e-06/0.5839, allocations: 7.875 kB / 0.8204 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.5839, allocations: 0 / 0.8204 GB, free: 15.54 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.0006109/0.5845, allocations: 382 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.5845, allocations: 11.34 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.5846, allocations: 36.53 kB / 0.8208 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.5846, allocations: 12.33 kB / 0.8208 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.5849, allocations: 153 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.5849, allocations: 7.875 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.5849, allocations: 3.219 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.5852, allocations: 126.3 kB / 0.8211 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.5852, allocations: 3.938 kB / 0.8211 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5852, allocations: 0 / 0.8211 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.5852, allocations: 2.219 kB / 0.8211 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.5854, allocations: 96.78 kB / 0.8212 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.5861, allocations: 444 kB / 0.8216 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.5864, allocations: 126.8 kB / 0.8217 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.5865, allocations: 60.8 kB / 0.8218 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.5866, allocations: 3.172 kB / 0.8218 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.5866, allocations: 31.27 kB / 0.8218 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.5866, allocations: 0 / 0.8218 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004213/0.587, allocations: 186 kB / 0.822 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.5871, allocations: 81.19 kB / 0.8221 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.5872, allocations: 173.9 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.5872, allocations: 29.7 kB / 0.8223 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.5873, allocations: 103.8 kB / 0.8224 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.5873, allocations: 33.16 kB / 0.8224 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.5874, allocations: 25.48 kB / 0.8224 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.5875, allocations: 331.5 kB / 0.8228 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.605e-05/0.5876, allocations: 43.06 kB / 0.8228 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.2e-05/0.5877, allocations: 57.27 kB / 0.8228 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.5878, allocations: 103.7 kB / 0.8229 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5878, allocations: 4 kB / 0.8229 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002151/0.5881, allocations: 147.3 kB / 0.8231 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5881, allocations: 7.375 kB / 0.8231 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5881, allocations: 5.375 kB / 0.8231 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.5881, allocations: 1.219 kB / 0.8231 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.5882, allocations: 26.03 kB / 0.8231 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5882, allocations: 0 / 0.8231 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.5883, allocations: 25.52 kB / 0.8232 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.5883, allocations: 7.156 kB / 0.8232 GB, free: 13.37 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 8.347e-05/0.5884, allocations: 119.5 kB / 0.8233 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.5884, allocations: 10.08 kB / 0.8233 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.5887, allocations: 160.5 kB / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5887, allocations: 5.344 kB / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.5887, allocations: 1.125 kB / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5887, allocations: 5.188 kB / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.589, allocations: 192.1 kB / 0.8236 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.589, allocations: 0.75 kB / 0.8236 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.745e-05/0.5891, allocations: 21.77 kB / 0.8237 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5891, allocations: 2.219 kB / 0.8237 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.5891, allocations: 192 / 0.8237 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5891, allocations: 6.25 kB / 0.8237 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5891, allocations: 0 / 0.8237 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.5893, allocations: 318.5 kB / 0.824 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.5894, allocations: 12.36 kB / 0.824 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.5894, allocations: 2.125 kB / 0.824 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.5895, allocations: 12.55 kB / 0.824 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.5895, allocations: 14.38 kB / 0.824 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.5895, allocations: 7.281 kB / 0.824 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.547e-05/0.5896, allocations: 129.5 kB / 0.8241 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5896, allocations: 0 / 0.8241 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001943/0.5898, allocations: 29.25 kB / 0.8242 GB, free: 12.61 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.0004617/0.5902, allocations: 0.838 MB / 0.825 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.5905, allocations: 98.81 kB / 0.8251 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5905, allocations: 0 / 0.8251 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.767e-05/0.5906, allocations: 54.08 kB / 0.8251 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.5909, allocations: 44.3 kB / 0.8252 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.5926, allocations: 1.849 MB / 0.827 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.5928, allocations: 0.708 MB / 0.8277 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.868e-05/0.5929, allocations: 9.562 kB / 0.8277 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.593, allocations: 32.06 kB / 0.8277 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.593, allocations: 4 kB / 0.8277 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.6141, allocations: 3.786 MB / 0.8314 GB, free: 9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.612/7.226, allocations: 7.172 kB / 0.8314 GB, free: 8.996 MB / 0.6198 GB " [Timeout remaining time 653] (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.290255548199639] Failed to read output from testmodel.py, exit status != 0: 7.3059942638501525 7.318872404 6.732791879 Calling exit ...