Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001068/0.001068, 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.001168/0.001168, allocations: 170.3 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.8971/0.8971, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.702/0.702, allocations: 154.6 MB / 413.8 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.252e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002847/0.00287, allocations: 1.778 MB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002907/0.00316, allocations: 127.6 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.037e-05/0.003241, allocations: 4 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.003359, allocations: 23.72 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.326e-05/0.003453, allocations: 43.52 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.003579, allocations: 35.94 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.003769, allocations: 183 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.003875, allocations: 17.31 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.003979, allocations: 79.84 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.042e-05/0.00407, allocations: 55.89 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.004101, allocations: 8 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.966e-05/0.004121, allocations: 8 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.00415, allocations: 31.83 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.004201, allocations: 43.92 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.004367, allocations: 123.6 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.00437, allocations: 0 / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004371, allocations: 3.938 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.004377, allocations: 8 kB / 0.6206 GB, free: 11.11 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.0005687/0.004945, allocations: 373.7 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.004981, allocations: 8.031 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.005011, allocations: 38.75 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.005039, allocations: 20.83 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.005217, allocations: 149.5 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.005231, allocations: 8.375 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.005245, allocations: 8.375 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.005421, allocations: 111.9 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.005429, allocations: 4.188 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.005438, allocations: 384 / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.005444, allocations: 4.125 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.005607, allocations: 99.86 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.006063, allocations: 431.9 kB / 0.6218 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.006303, allocations: 117.2 kB / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.977e-05/0.006392, allocations: 65.72 kB / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.006413, allocations: 3.984 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.006432, allocations: 34.56 kB / 0.622 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.133e-06/0.006433, allocations: 7.938 kB / 0.622 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0003482/0.006782, allocations: 177.5 kB / 0.6221 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.006815, allocations: 81.09 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.006922, allocations: 167.6 kB / 0.6224 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.006937, allocations: 25.7 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.006989, allocations: 112.1 kB / 0.6225 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.007009, allocations: 31.7 kB / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.007047, allocations: 25.7 kB / 0.6226 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.007124, allocations: 330.8 kB / 0.6229 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.007206, allocations: 39.97 kB / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-05/0.007285, allocations: 53.69 kB / 0.623 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.007441, allocations: 113.8 kB / 0.6231 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007443, allocations: 0 / 0.6231 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.007631, allocations: 145.5 kB / 0.6232 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.007644, allocations: 4 kB / 0.6232 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.007648, allocations: 0 / 0.6232 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.00766, allocations: 4 kB / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.309e-05/0.007733, allocations: 23.92 kB / 0.6232 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.007739, allocations: 0 / 0.6232 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.007793, allocations: 23.88 kB / 0.6233 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.007801, allocations: 4 kB / 0.6233 GB, free: 8.09 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.529e-05/0.007866, allocations: 122.8 kB / 0.6234 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.007893, allocations: 11.91 kB / 0.6234 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.008126, allocations: 162.7 kB / 0.6236 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.008129, allocations: 4 kB / 0.6236 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.008133, allocations: 0 / 0.6236 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.008136, allocations: 0 / 0.6236 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.00831, allocations: 180.7 kB / 0.6237 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.008311, allocations: 0 / 0.6237 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.008374, allocations: 27.92 kB / 0.6238 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008376, allocations: 0 / 0.6238 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.008384, allocations: 3.984 kB / 0.6238 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.008387, allocations: 4.188 kB / 0.6238 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.008388, allocations: 0 / 0.6238 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.008609, allocations: 318.7 kB / 0.6241 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.008627, allocations: 19.91 kB / 0.6241 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.008641, allocations: 0 / 0.6241 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.00872, allocations: 7.984 kB / 0.6241 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.008756, allocations: 11.98 kB / 0.6241 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.008761, allocations: 4 kB / 0.6241 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.272e-05/0.008824, allocations: 125.5 kB / 0.6242 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.008824, allocations: 0 / 0.6242 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000183/0.009007, allocations: 32 kB / 0.6243 GB, free: 7.004 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.0004055/0.009412, allocations: 0.8405 MB / 0.6251 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.009621, allocations: 103.9 kB / 0.6252 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.009623, allocations: 0 / 0.6252 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.027e-05/0.009703, allocations: 47.91 kB / 0.6252 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.009998, allocations: 44.47 kB / 0.6253 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.01156, allocations: 1.832 MB / 0.6271 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.052e-05/0.01163, allocations: 101.6 kB / 0.6272 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.119e-05/0.0117, allocations: 12.66 kB / 0.6272 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.01176, allocations: 36.48 kB / 0.6272 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.01176, allocations: 0 / 0.6272 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.02777, allocations: 4.591 MB / 0.6317 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.146, allocations: 3.625 kB / 0.6317 GB, free: 15.49 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.839424978010356] Failed to read output from testmodel.py, exit status != 0: 7.232107576914132 7.24220948 7.235548998 Calling exit ...