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.001316/0.001316, allocations: 109.1 kB / 18.94 MB, free: 2.797 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.001496/0.001496, allocations: 219.6 kB / 22.26 MB, free: 5.207 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.984 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.002506/0.002506, allocations: 278.8 kB / 312.7 MB, free: 2.809 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.252/1.252, allocations: 180.6 MB / 0.5369 GB, free: 13 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.002947/0.002947, allocations: 106.2 kB / 0.7396 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1989, 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.1719/0.3707, allocations: 139.4 MB / 0.9689 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5203/0.891, allocations: 22.87 MB / 0.9912 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.8912, allocations: 1.75 kB / 0.9912 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.8915, allocations: 45.41 kB / 0.9912 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.8919, allocations: 99.53 kB / 0.9913 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.02196/0.9139, allocations: 6.98 MB / 0.9982 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005278/0.9144, allocations: 255.9 kB / 0.9984 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.045e-05/0.9145, allocations: 6.969 kB / 0.9984 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003753/0.9148, allocations: 150.8 kB / 0.9985 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.915, allocations: 93.62 kB / 0.9986 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.9151, allocations: 10.55 kB / 0.9986 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02482/0.9399, allocations: 11.7 MB / 1.01 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.94, allocations: 40.95 kB / 1.01 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.9402, allocations: 80.22 kB / 1.01 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02024/0.9604, allocations: 6.504 MB / 1.017 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9604, allocations: 1.203 kB / 1.017 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9604, allocations: 0.8438 kB / 1.017 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.9604, allocations: 0 / 1.017 GB, free: 2.98 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.004211/0.9647, allocations: 1.174 MB / 1.018 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.9647, allocations: 12.53 kB / 1.018 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.916e-05/0.9648, allocations: 51.42 kB / 1.018 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.966, allocations: 87.95 kB / 1.018 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.9662, allocations: 165.1 kB / 1.018 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.9663, allocations: 14.97 kB / 1.018 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.9663, allocations: 21.56 kB / 1.018 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.9674, allocations: 473.1 kB / 1.018 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.9674, allocations: 5.016 kB / 1.018 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.9674, allocations: 9.5 kB / 1.018 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.9674, allocations: 2.219 kB / 1.018 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.9685, allocations: 0.6248 MB / 1.019 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.9695, allocations: 0.8569 MB / 1.02 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007704/0.9703, allocations: 234.1 kB / 1.02 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/0.9704, allocations: 65.34 kB / 1.02 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07909/1.05, allocations: 23.3 MB / 1.043 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/1.05, allocations: 36.66 kB / 1.043 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/1.05, allocations: 1.203 kB / 1.043 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.001688/1.051, allocations: 427 kB / 1.043 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/1.051, allocations: 54.06 kB / 1.043 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/1.051, allocations: 141.9 kB / 1.044 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/1.051, allocations: 32.17 kB / 1.044 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/1.052, allocations: 110 kB / 1.044 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.896e-05/1.052, allocations: 90.91 kB / 1.044 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/1.052, allocations: 80.06 kB / 1.044 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.052, allocations: 325.2 kB / 1.044 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/1.052, allocations: 84.58 kB / 1.044 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/1.052, allocations: 126.5 kB / 1.044 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/1.053, allocations: 220.2 kB / 1.045 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.053, allocations: 3.984 kB / 1.045 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007178/1.053, allocations: 296.8 kB / 1.045 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.053, allocations: 5.531 kB / 1.045 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/1.053, allocations: 2.875 kB / 1.045 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.053, allocations: 5.297 kB / 1.045 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/1.054, allocations: 76.59 kB / 1.045 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.054, allocations: 14.55 kB / 1.045 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/1.054, allocations: 24.34 kB / 1.045 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/1.054, allocations: 29.17 kB / 1.045 GB, free: 8.551 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.0001384/1.054, allocations: 132.5 kB / 1.045 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/1.054, allocations: 17.11 kB / 1.045 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/1.057, allocations: 2.487 MB / 1.048 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/1.057, allocations: 11.23 kB / 1.048 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.057, allocations: 3.094 kB / 1.048 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/1.057, allocations: 7.984 kB / 1.048 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/1.06, allocations: 3.6 MB / 1.051 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/1.06, allocations: 0 / 1.051 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/1.06, allocations: 51.58 kB / 1.051 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.06, allocations: 0 / 1.051 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/1.06, allocations: 14.94 kB / 1.051 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/1.06, allocations: 5.094 kB / 1.051 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.06, allocations: 3.188 kB / 1.051 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/1.061, allocations: 0.5591 MB / 1.052 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.061, allocations: 62.56 kB / 1.052 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/1.061, allocations: 11.56 kB / 1.052 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/1.062, allocations: 11.25 kB / 1.052 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/1.062, allocations: 23.7 kB / 1.052 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/1.062, allocations: 11.25 kB / 1.052 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.69e-05/1.062, allocations: 108.4 kB / 1.052 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/1.062, allocations: 0 / 1.052 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005712/1.068, allocations: 1.717 MB / 1.054 GB, free: 2.094 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.01334/1.081, allocations: 2.949 MB / 1.057 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009332/1.082, allocations: 328.1 kB / 1.057 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.082, allocations: 1.094 kB / 1.057 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004074/1.082, allocations: 201.6 kB / 1.057 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007053/1.083, allocations: 66.03 kB / 1.057 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007918/1.091, allocations: 3.1 MB / 1.06 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/1.091, allocations: 0.766 MB / 1.061 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006261/1.092, allocations: 407.5 kB / 1.061 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/1.092, allocations: 95.02 kB / 1.061 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of SimCode: time 8.92e-07/1.092, allocations: 0 / 1.061 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1467/1.239, allocations: 63.82 MB / 1.124 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/16.6, allocations: 7.359 kB / 1.124 GB, free: 11.33 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.092473361874] Failed to read output from testmodel.py, exit status != 0: 16.756797078996897 16.779373362 15.814470028 Calling exit ...