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.0008745/0.0008745, 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.0009104/0.0009104, 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.8929/0.8929, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7457/0.7457, allocations: 154.5 MB / 413.7 MB, free: 0.8281 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.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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.618 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.92e-05, allocations: 4.531 kB / 0.618 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002196/0.002216, allocations: 1.776 MB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002347/0.00245, allocations: 127.5 kB / 0.6199 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/0.00252, allocations: 4 kB / 0.6199 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.002623, allocations: 15.8 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.002689, allocations: 55.48 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.002804, allocations: 31.95 kB / 0.62 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.002978, allocations: 175.1 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.003085, allocations: 21.28 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.003169, allocations: 75.81 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.003245, allocations: 55.88 kB / 0.6203 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.003272, allocations: 15.92 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.003286, allocations: 8 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.003309, allocations: 27.92 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.003349, allocations: 47.84 kB / 0.6204 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.003479, allocations: 127.6 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003481, allocations: 0 / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003482, allocations: 0 / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.003486, allocations: 4 kB / 0.6205 GB, free: 11.25 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005227/0.004008, allocations: 373.7 kB / 0.6209 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.004048, allocations: 13.47 kB / 0.6209 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.004083, allocations: 46.73 kB / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.00411, allocations: 16.84 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.004298, allocations: 145.5 kB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.004309, allocations: 8.375 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.004321, allocations: 4.375 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.004507, allocations: 119.3 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.004514, allocations: 4.188 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.004524, allocations: 384 / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.00466, allocations: 8.125 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.004849, allocations: 99.81 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.005334, allocations: 423.8 kB / 0.6217 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.005583, allocations: 121.2 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.693e-05/0.00568, allocations: 61.78 kB / 0.6219 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.0057, allocations: 3.984 kB / 0.6219 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.005722, allocations: 46.48 kB / 0.6219 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.005723, allocations: 0 / 0.6219 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0003453/0.006068, allocations: 173.6 kB / 0.6221 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.006103, allocations: 88.98 kB / 0.6222 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.006215, allocations: 163.3 kB / 0.6223 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.006227, allocations: 25.7 kB / 0.6224 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.00649, allocations: 112.1 kB / 0.6225 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.006513, allocations: 39.75 kB / 0.6225 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.006547, allocations: 17.72 kB / 0.6225 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.006641, allocations: 330.8 kB / 0.6228 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.838e-05/0.006719, allocations: 39.97 kB / 0.6229 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.477e-05/0.006804, allocations: 61.67 kB / 0.6229 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.006959, allocations: 105.6 kB / 0.623 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006961, allocations: 0 / 0.623 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002232/0.007184, allocations: 141.8 kB / 0.6232 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.007196, allocations: 4 kB / 0.6232 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.007201, allocations: 0 / 0.6232 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.007213, allocations: 8 kB / 0.6232 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.686e-05/0.00729, allocations: 27.91 kB / 0.6232 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.007294, allocations: 0 / 0.6232 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.00735, allocations: 23.88 kB / 0.6232 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.007357, allocations: 0 / 0.6232 GB, free: 8.219 MB / 0.5886 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.645e-05/0.007423, allocations: 122.8 kB / 0.6233 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.007449, allocations: 11.91 kB / 0.6234 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.007697, allocations: 162.7 kB / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.0077, allocations: 4 kB / 0.6235 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.007705, allocations: 3.984 kB / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.007708, allocations: 0 / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.007877, allocations: 172.7 kB / 0.6237 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.007878, allocations: 0 / 0.6237 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.007937, allocations: 19.98 kB / 0.6237 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.007938, allocations: 3.938 kB / 0.6237 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.007948, allocations: 4 kB / 0.6237 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.00795, allocations: 11.94 kB / 0.6237 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007951, allocations: 0 / 0.6237 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.008243, allocations: 318.7 kB / 0.624 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.008258, allocations: 11.91 kB / 0.624 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.008273, allocations: 4 kB / 0.624 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.008355, allocations: 7.984 kB / 0.624 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.00839, allocations: 7.984 kB / 0.6241 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.008396, allocations: 8 kB / 0.6241 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.695e-05/0.008462, allocations: 125.5 kB / 0.6242 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008463, allocations: 4 kB / 0.6242 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001907/0.008653, allocations: 28 kB / 0.6242 GB, free: 7.133 MB / 0.5886 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.0003941/0.009047, allocations: 0.8406 MB / 0.625 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.009255, allocations: 103.9 kB / 0.6251 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.009256, allocations: 0 / 0.6251 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.266e-05/0.009339, allocations: 51.91 kB / 0.6252 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.009632, allocations: 42.55 kB / 0.6252 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.01114, allocations: 1.838 MB / 0.627 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.91e-05/0.0112, allocations: 93.66 kB / 0.6271 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.368e-05/0.01125, allocations: 16.64 kB / 0.6271 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.01131, allocations: 32.5 kB / 0.6272 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.01131, allocations: 4 kB / 0.6272 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.02739, allocations: 4.606 MB / 0.6317 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.046, allocations: 3.609 kB / 0.6317 GB, free: 15.62 MB / 0.6042 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: 9.877185364253819] Failed to read output from testmodel.py, exit status != 0: 7.126356159336865 7.137135854 7.131678594 Calling exit ...