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.001225/0.001225, allocations: 106.5 kB / 16.45 MB, free: 6.449 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.00132/0.00132, allocations: 212 kB / 19.43 MB, free: 3.637 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.381/1.381, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002626/0.002626, allocations: 291.6 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.19/1.19, allocations: 180.9 MB / 0.5333 GB, free: 13.82 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002724/0.002724, allocations: 104.6 kB / 0.7343 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1648, allocations: 95.35 MB / 0.8274 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1635/0.3283, allocations: 139.4 MB / 0.9635 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4215/0.7497, allocations: 22.8 MB / 0.9857 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.7499, allocations: 1.344 kB / 0.9857 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.7501, allocations: 47.09 kB / 0.9858 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.7504, allocations: 98.27 kB / 0.9859 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01703/0.7675, allocations: 6.962 MB / 0.9927 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.7679, allocations: 252.3 kB / 0.9929 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.279e-05/0.7679, allocations: 10.33 kB / 0.9929 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.7682, allocations: 143.3 kB / 0.993 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.7684, allocations: 98.77 kB / 0.9931 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.7684, allocations: 8.969 kB / 0.9932 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02408/0.7925, allocations: 11.69 MB / 1.005 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.7926, allocations: 37.33 kB / 1.005 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.7928, allocations: 83.41 kB / 1.005 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0152/0.808, allocations: 6.495 MB / 1.011 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.808, allocations: 6.75 kB / 1.011 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.808, allocations: 0 / 1.011 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.808, allocations: 0.6562 kB / 1.011 GB, free: 2.766 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.00437/0.8124, allocations: 1.245 MB / 1.012 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.8124, allocations: 10.16 kB / 1.012 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.237e-05/0.8125, allocations: 53.34 kB / 1.012 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.8136, allocations: 86.12 kB / 1.012 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.8139, allocations: 229.1 kB / 1.013 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.8139, allocations: 9.531 kB / 1.013 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.8139, allocations: 20.7 kB / 1.013 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.815, allocations: 455.7 kB / 1.013 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.815, allocations: 4.391 kB / 1.013 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.8151, allocations: 10.12 kB / 1.013 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.8151, allocations: 4.75 kB / 1.013 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.8162, allocations: 0.5966 MB / 1.014 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.8173, allocations: 0.886 MB / 1.015 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007891/0.8181, allocations: 230.8 kB / 1.015 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.8182, allocations: 64.58 kB / 1.015 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08806/0.9062, allocations: 36.53 MB / 1.05 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.9063, allocations: 39.91 kB / 1.051 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 1.724e-06/0.9063, allocations: 0 / 1.051 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25): time 0.001699/0.908, allocations: 425.4 kB / 1.051 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.908, allocations: 54.31 kB / 1.051 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.9081, allocations: 135.5 kB / 1.051 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.9082, allocations: 34.89 kB / 1.051 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.9082, allocations: 113.8 kB / 1.051 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.911e-05/0.9083, allocations: 89.84 kB / 1.051 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.9084, allocations: 72.12 kB / 1.051 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.9086, allocations: 334.7 kB / 1.052 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.9087, allocations: 83.34 kB / 1.052 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.909, allocations: 126.8 kB / 1.052 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.9094, allocations: 221.4 kB / 1.052 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.9094, allocations: 0 / 1.052 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007521/0.9101, allocations: 302.9 kB / 1.052 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.9102, allocations: 8.344 kB / 1.052 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9102, allocations: 1.625 kB / 1.052 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.9102, allocations: 7.891 kB / 1.052 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.9105, allocations: 84.59 kB / 1.053 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.9105, allocations: 1.969 kB / 1.053 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.9106, allocations: 20.19 kB / 1.053 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.9107, allocations: 34.12 kB / 1.053 GB, free: 7.543 MB / 0.7481 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.0001378/0.9108, allocations: 123.4 kB / 1.053 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.911, allocations: 16 kB / 1.053 GB, free: 7.422 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.9132, allocations: 2.344 MB / 1.055 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.9132, allocations: 7.984 kB / 1.055 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.9132, allocations: 0 / 1.055 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.9132, allocations: 6.812 kB / 1.055 GB, free: 6.184 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/0.9163, allocations: 3.437 MB / 1.058 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.9163, allocations: 0 / 1.058 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.9165, allocations: 62.03 kB / 1.058 GB, free: 3.879 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.9166, allocations: 0 / 1.058 GB, free: 3.879 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.9166, allocations: 11.06 kB / 1.058 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.9166, allocations: 0 / 1.058 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.9166, allocations: 4 kB / 1.058 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000766/0.9173, allocations: 0.544 MB / 1.059 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.9175, allocations: 143.4 kB / 1.059 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.9175, allocations: 12.14 kB / 1.059 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.9178, allocations: 11.88 kB / 1.059 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.9178, allocations: 19.09 kB / 1.059 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.9178, allocations: 11.88 kB / 1.059 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.357e-05/0.9179, allocations: 115.3 kB / 1.059 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.9179, allocations: 0 / 1.059 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004932/0.9228, allocations: 1.712 MB / 1.061 GB, free: 1.523 MB / 0.7481 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.01014/0.933, allocations: 2.947 MB / 1.064 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006984/0.9337, allocations: 321 kB / 1.064 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9337, allocations: 4 kB / 1.064 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.934, allocations: 194.2 kB / 1.064 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.9345, allocations: 54.88 kB / 1.064 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00657/0.9411, allocations: 3.1 MB / 1.067 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.9414, allocations: 0.7674 MB / 1.068 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005908/0.942, allocations: 407.8 kB / 1.069 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.9423, allocations: 97.45 kB / 1.069 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of SimCode: time 7.81e-07/0.9423, allocations: 0 / 1.069 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1133/1.056, allocations: 63.32 MB / 1.13 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.75, allocations: 11.28 kB / 1.13 GB, free: 11.24 MB / 0.8262 GB " [Timeout remaining time 647] (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: 16.856133121997118] Failed to read output from testmodel.py, exit status != 0: 12.87215229589492 12.89429874 12.082198731 Calling exit ...