Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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.001399/0.001399, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001431/0.001431, allocations: 213.8 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.48/1.48, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002483/0.002483, allocations: 282.5 kB / 312.7 MB, free: 2.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.229/1.229, allocations: 180.6 MB / 0.5369 GB, free: 12.96 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.004456/0.004456, allocations: 114.9 kB / 0.7396 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1936, allocations: 95.38 MB / 0.8327 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1767/0.3703, allocations: 139.4 MB / 0.9689 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4579/0.8281, allocations: 22.87 MB / 0.9912 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.8283, allocations: 1.75 kB / 0.9912 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.8286, allocations: 45.25 kB / 0.9912 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.8288, allocations: 94.69 kB / 0.9913 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01699/0.8458, allocations: 6.99 MB / 0.9982 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000397/0.8462, allocations: 248.6 kB / 0.9984 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.8463, allocations: 13.88 kB / 0.9984 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.8466, allocations: 146.2 kB / 0.9985 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.8467, allocations: 95.72 kB / 0.9986 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.8468, allocations: 8.656 kB / 0.9986 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0229/0.8697, allocations: 11.7 MB / 1.01 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.8698, allocations: 40.66 kB / 1.01 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.8699, allocations: 81.06 kB / 1.01 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01905/0.889, allocations: 6.502 MB / 1.017 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.889, allocations: 0 / 1.017 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/0.889, allocations: 0.75 kB / 1.017 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.889, allocations: 0 / 1.017 GB, free: 2.957 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.005762/0.8948, allocations: 1.177 MB / 1.018 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.8948, allocations: 13.69 kB / 1.018 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.8949, allocations: 49.39 kB / 1.018 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.896, allocations: 86.88 kB / 1.018 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.8963, allocations: 169.8 kB / 1.018 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.8964, allocations: 8.844 kB / 1.018 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.8964, allocations: 21.94 kB / 1.018 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.8975, allocations: 473.3 kB / 1.018 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.8975, allocations: 0 / 1.018 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.8975, allocations: 12 kB / 1.018 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.8976, allocations: 4.141 kB / 1.018 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.8986, allocations: 0.6183 MB / 1.019 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.8997, allocations: 0.8644 MB / 1.02 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007362/0.9004, allocations: 230.5 kB / 1.02 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.405e-05/0.9005, allocations: 69.19 kB / 1.02 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08227/0.9828, allocations: 23.3 MB / 1.043 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.9828, allocations: 37.97 kB / 1.043 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.664e-06/0.9828, allocations: 0 / 1.043 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.001717/0.9845, allocations: 422.7 kB / 1.043 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.9846, allocations: 57.41 kB / 1.043 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.9847, allocations: 135.9 kB / 1.044 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.9848, allocations: 30.64 kB / 1.044 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.9848, allocations: 118.2 kB / 1.044 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/0.9849, allocations: 90.81 kB / 1.044 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.985, allocations: 81.19 kB / 1.044 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.9852, allocations: 328.8 kB / 1.044 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.9854, allocations: 77.7 kB / 1.044 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.9856, allocations: 131.1 kB / 1.044 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.986, allocations: 213.8 kB / 1.045 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.986, allocations: 0 / 1.045 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007197/0.9867, allocations: 305.1 kB / 1.045 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.9867, allocations: 5.812 kB / 1.045 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.9867, allocations: 2.062 kB / 1.045 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.9867, allocations: 2.875 kB / 1.045 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.987, allocations: 80 kB / 1.045 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.987, allocations: 9.75 kB / 1.045 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.9872, allocations: 29.16 kB / 1.045 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.9872, allocations: 24.77 kB / 1.045 GB, free: 8.527 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 0.0001928/0.9874, allocations: 136.4 kB / 1.045 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.9876, allocations: 15.91 kB / 1.045 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.9903, allocations: 2.486 MB / 1.048 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.9903, allocations: 11.11 kB / 1.048 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.9903, allocations: 0 / 1.048 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.9903, allocations: 7.172 kB / 1.048 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/0.9941, allocations: 3.601 MB / 1.051 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.9941, allocations: 4 kB / 1.051 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.9944, allocations: 59.34 kB / 1.051 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.9944, allocations: 4 kB / 1.051 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.9944, allocations: 7.5 kB / 1.051 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.9944, allocations: 4.875 kB / 1.051 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9944, allocations: 0 / 1.051 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008436/0.9953, allocations: 0.5551 MB / 1.052 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.9954, allocations: 66 kB / 1.052 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.9954, allocations: 11.56 kB / 1.052 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.9957, allocations: 11.38 kB / 1.052 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.9958, allocations: 15.97 kB / 1.052 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.9958, allocations: 18.11 kB / 1.052 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.215e-05/0.9959, allocations: 109.2 kB / 1.052 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.9959, allocations: 0 / 1.052 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005725/1.002, allocations: 1.716 MB / 1.054 GB, free: 2.07 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0121/1.014, allocations: 2.954 MB / 1.057 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007863/1.014, allocations: 325.3 kB / 1.057 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.014, allocations: 0 / 1.057 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003119/1.015, allocations: 198.2 kB / 1.057 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/1.015, allocations: 61.58 kB / 1.057 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007395/1.023, allocations: 3.092 MB / 1.06 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/1.023, allocations: 0.7652 MB / 1.061 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006575/1.024, allocations: 415.5 kB / 1.061 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/1.024, allocations: 95.08 kB / 1.061 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of SimCode: time 6.91e-07/1.024, allocations: 0 / 1.061 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1389/1.163, allocations: 63.82 MB / 1.124 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/16.4, allocations: 8.938 kB / 1.124 GB, free: 11.3 MB / 0.8106 GB " [Timeout remaining time 643] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_SteamProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.829103529998974] Failed to read output from testmodel.py, exit status != 0: 16.555894454002555 16.583424777 15.688875713 Calling exit ...