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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 107.3 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.002559/0.002559, allocations: 278.6 kB / 303 MB, free: 9.52 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.211/1.211, allocations: 180.9 MB / 0.5261 GB, free: 14.7 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002841/0.002841, allocations: 101.4 kB / 0.7248 GB, free: 40.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1608, allocations: 94.16 MB / 0.8167 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.169/0.3298, allocations: 136.5 MB / 0.95 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03284/0.3627, allocations: 22.76 MB / 0.9723 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.3628, allocations: 0 / 0.9723 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.3631, allocations: 47.67 kB / 0.9723 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.3634, allocations: 103.4 kB / 0.9724 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.02053/0.384, allocations: 6.946 MB / 0.9792 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004755/0.3844, allocations: 255.9 kB / 0.9794 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.874e-05/0.3845, allocations: 9.562 kB / 0.9794 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.3849, allocations: 155.4 kB / 0.9796 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.3851, allocations: 91.59 kB / 0.9797 GB, free: 14 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.3851, allocations: 12 kB / 0.9797 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02442/0.4096, allocations: 11.66 MB / 0.9911 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.4097, allocations: 35.89 kB / 0.9911 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.4098, allocations: 87.58 kB / 0.9912 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01555/0.4254, allocations: 6.486 MB / 0.9975 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4254, allocations: 0 / 0.9975 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4254, allocations: 0 / 0.9975 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.4254, allocations: 0 / 0.9975 GB, free: 11.7 MB / 0.7481 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.003627/0.4291, allocations: 1.246 MB / 0.9987 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4291, allocations: 8.031 kB / 0.9987 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.902e-05/0.4292, allocations: 50.73 kB / 0.9988 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.4303, allocations: 88.75 kB / 0.9989 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.4307, allocations: 232 kB / 0.9991 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.4307, allocations: 19.88 kB / 0.9991 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.4307, allocations: 12 kB / 0.9991 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.432, allocations: 460.6 kB / 0.9996 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.432, allocations: 0 / 0.9996 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.432, allocations: 8 kB / 0.9996 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.432, allocations: 4 kB / 0.9996 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.4333, allocations: 0.5931 MB / 1 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.4345, allocations: 0.8785 MB / 1.001 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000851/0.4353, allocations: 240.5 kB / 1.001 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.4355, allocations: 60.84 kB / 1.001 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4498/0.8853, allocations: 35.42 MB / 1.036 GB, free: 168.9 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.8853, allocations: 39.2 kB / 1.036 GB, free: 168.8 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.8853, allocations: 0 / 1.036 GB, free: 168.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25): time 0.001669/0.887, allocations: 423.3 kB / 1.036 GB, free: 168.5 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.887, allocations: 60.72 kB / 1.036 GB, free: 168.4 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.8871, allocations: 142.4 kB / 1.037 GB, free: 168.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.8871, allocations: 33.45 kB / 1.037 GB, free: 168.3 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.8872, allocations: 109.6 kB / 1.037 GB, free: 168.2 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.8872, allocations: 91.53 kB / 1.037 GB, free: 168.1 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.924e-05/0.8873, allocations: 78.42 kB / 1.037 GB, free: 168.1 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.743e-05/0.8873, allocations: 326.1 kB / 1.037 GB, free: 167.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.8875, allocations: 82.62 kB / 1.037 GB, free: 167.7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.8877, allocations: 134.7 kB / 1.037 GB, free: 167.6 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.888, allocations: 212.8 kB / 1.038 GB, free: 167.4 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.888, allocations: 0 / 1.038 GB, free: 167.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006486/0.8887, allocations: 302.6 kB / 1.038 GB, free: 167.1 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.8887, allocations: 8 kB / 1.038 GB, free: 167.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.8887, allocations: 0 / 1.038 GB, free: 167.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.8887, allocations: 4 kB / 1.038 GB, free: 167.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.889, allocations: 79.88 kB / 1.038 GB, free: 167 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.889, allocations: 7.75 kB / 1.038 GB, free: 167 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.8891, allocations: 22.86 kB / 1.038 GB, free: 167 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.8892, allocations: 27.97 kB / 1.038 GB, free: 166.9 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 8.798e-05/0.8893, allocations: 125.8 kB / 1.038 GB, free: 166.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.8894, allocations: 22.09 kB / 1.038 GB, free: 166.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.8911, allocations: 2.334 MB / 1.04 GB, free: 164.5 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.8911, allocations: 19.92 kB / 1.04 GB, free: 164.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8911, allocations: 3.938 kB / 1.04 GB, free: 164.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8911, allocations: 0 / 1.04 GB, free: 164.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.8934, allocations: 3.427 MB / 1.044 GB, free: 160.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.8934, allocations: 0 / 1.044 GB, free: 160.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.8936, allocations: 64.33 kB / 1.044 GB, free: 160.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.8936, allocations: 0 / 1.044 GB, free: 160.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.8936, allocations: 8 kB / 1.044 GB, free: 160.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.8936, allocations: 4.594 kB / 1.044 GB, free: 160.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8936, allocations: 0 / 1.044 GB, free: 160.9 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.8942, allocations: 0.5513 MB / 1.044 GB, free: 160.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.8943, allocations: 146.4 kB / 1.045 GB, free: 160.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.8943, allocations: 5.203 kB / 1.045 GB, free: 160.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.8946, allocations: 12 kB / 1.045 GB, free: 160.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.8946, allocations: 20.59 kB / 1.045 GB, free: 160.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.8946, allocations: 12 kB / 1.045 GB, free: 160.1 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.806e-05/0.8947, allocations: 109.4 kB / 1.045 GB, free: 160 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8947, allocations: 0.6562 kB / 1.045 GB, free: 160 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003631/0.8983, allocations: 1.706 MB / 1.046 GB, free: 158.5 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.007999/0.9063, allocations: 2.954 MB / 1.049 GB, free: 155.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006467/0.9069, allocations: 312.3 kB / 1.05 GB, free: 155.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.9069, allocations: 0 / 1.05 GB, free: 155.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.9072, allocations: 193.2 kB / 1.05 GB, free: 155.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.9077, allocations: 69.58 kB / 1.05 GB, free: 155.1 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/0.9122, allocations: 3.083 MB / 1.053 GB, free: 151.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.9123, allocations: 0.7661 MB / 1.054 GB, free: 151.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004098/0.9127, allocations: 401 kB / 1.054 GB, free: 150.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.9129, allocations: 103.4 kB / 1.054 GB, free: 150.6 MB / 0.7481 GB Notification: Performance of SimCode: time 1.132e-06/0.9129, allocations: 3.938 kB / 1.054 GB, free: 150.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08524/0.9982, allocations: 63.2 MB / 1.116 GB, free: 87.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.4, allocations: 14.31 kB / 1.116 GB, free: 87.51 MB / 0.7481 GB " [Timeout remaining time 646] (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: 17.645012389868498] Failed to read output from testmodel.py, exit status != 0: 13.517251380719244 13.536107906 13.1067102 Calling exit ...