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.001375/0.001375, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001473/0.001473, allocations: 186 kB / 20.78 MB, free: 1.547 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.454/1.454, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.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.002517/0.002517, allocations: 285.5 kB / 304.8 MB, free: 3.441 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.108/1.108, allocations: 180.9 MB / 0.5281 GB, free: 1.902 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: translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 99.84 kB / 0.7283 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6176/0.6204, allocations: 94.16 MB / 0.8203 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1836/0.804, allocations: 136.5 MB / 0.9536 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03335/0.8373, allocations: 22.83 MB / 0.9759 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.8375, allocations: 0 / 0.9759 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.8379, allocations: 43.69 kB / 0.976 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.8383, allocations: 95.36 kB / 0.9761 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.02006/0.8583, allocations: 6.946 MB / 0.9828 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.8588, allocations: 255.8 kB / 0.9831 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.427e-05/0.8589, allocations: 13.5 kB / 0.9831 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.8594, allocations: 143.5 kB / 0.9832 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.8596, allocations: 91.66 kB / 0.9833 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.8596, allocations: 8 kB / 0.9833 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02451/0.8841, allocations: 11.68 MB / 0.9947 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.8843, allocations: 43.83 kB / 0.9948 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.8844, allocations: 79.64 kB / 0.9948 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01646/0.9009, allocations: 6.486 MB / 1.001 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.9009, allocations: 7.922 kB / 1.001 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9009, allocations: 0 / 1.001 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.9009, allocations: 0 / 1.001 GB, free: 4.008 MB / 0.7325 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.003781/0.9047, allocations: 1.238 MB / 1.002 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.9047, allocations: 12.03 kB / 1.002 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.9059, allocations: 80.77 kB / 1.002 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.9062, allocations: 228.1 kB / 1.003 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.9062, allocations: 16.12 kB / 1.003 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.9063, allocations: 16 kB / 1.003 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.9075, allocations: 460.4 kB / 1.003 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.9075, allocations: 3.938 kB / 1.003 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.9075, allocations: 8 kB / 1.003 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.9075, allocations: 4 kB / 1.003 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.9089, allocations: 0.5893 MB / 1.004 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.9101, allocations: 0.8823 MB / 1.005 GB, free: 296 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008712/0.9109, allocations: 240.7 kB / 1.005 GB, free: 48 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.9111, allocations: 64.91 kB / 1.005 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0923/1.003, allocations: 35.42 MB / 1.04 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/1.003, allocations: 47.2 kB / 1.04 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.754e-06/1.003, allocations: 0 / 1.04 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.001799/1.005, allocations: 424.4 kB / 1.04 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/1.005, allocations: 55.41 kB / 1.04 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/1.005, allocations: 140 kB / 1.04 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/1.005, allocations: 29.7 kB / 1.04 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/1.006, allocations: 108.5 kB / 1.04 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.435e-05/1.006, allocations: 95.2 kB / 1.04 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/1.006, allocations: 77.67 kB / 1.04 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.006, allocations: 326.8 kB / 1.041 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/1.006, allocations: 87.88 kB / 1.041 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/1.006, allocations: 125.6 kB / 1.041 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/1.007, allocations: 217 kB / 1.041 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.007, allocations: 0 / 1.041 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007945/1.008, allocations: 304.8 kB / 1.041 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.008, allocations: 4 kB / 1.041 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.008, allocations: 4.156 kB / 1.041 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/1.008, allocations: 7.938 kB / 1.041 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/1.008, allocations: 83.88 kB / 1.042 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/1.008, allocations: 4 kB / 1.042 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/1.008, allocations: 23.78 kB / 1.042 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/1.008, allocations: 27.97 kB / 1.042 GB, free: 7.219 MB / 0.7794 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.0001327/1.008, allocations: 129.8 kB / 1.042 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/1.009, allocations: 11.95 kB / 1.042 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/1.011, allocations: 2.342 MB / 1.044 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/1.011, allocations: 7.984 kB / 1.044 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.011, allocations: 0 / 1.044 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/1.011, allocations: 3.938 kB / 1.044 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003759/1.015, allocations: 3.427 MB / 1.047 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/1.015, allocations: 7.984 kB / 1.047 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/1.015, allocations: 55.89 kB / 1.047 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.015, allocations: 0 / 1.047 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/1.015, allocations: 11.94 kB / 1.047 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/1.015, allocations: 8 kB / 1.047 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.015, allocations: 0 / 1.047 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008401/1.016, allocations: 0.5467 MB / 1.048 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/1.016, allocations: 140.7 kB / 1.048 GB, free: 376 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/1.016, allocations: 11.94 kB / 1.048 GB, free: 364 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/1.017, allocations: 11.98 kB / 1.048 GB, free: 352 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/1.017, allocations: 19.97 kB / 1.048 GB, free: 332 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/1.017, allocations: 16 kB / 1.048 GB, free: 316 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.987e-05/1.017, allocations: 109.4 kB / 1.048 GB, free: 208 kB / 0.7794 GB Notification: Performance of sort global known variables: time 8e-08/1.017, allocations: 0 / 1.048 GB, free: 208 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004504/1.021, allocations: 1.703 MB / 1.05 GB, free: 14.49 MB / 0.795 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.008396/1.03, allocations: 1.955 MB / 1.052 GB, free: 12.53 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007499/1.031, allocations: 312.3 kB / 1.052 GB, free: 12.22 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.031, allocations: 0 / 1.052 GB, free: 12.22 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003004/1.031, allocations: 196.5 kB / 1.052 GB, free: 12.03 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/1.031, allocations: 68.14 kB / 1.052 GB, free: 11.96 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/1.033, allocations: 0.6494 MB / 1.053 GB, free: 11.28 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/1.033, allocations: 0.7661 MB / 1.054 GB, free: 10.49 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005752/1.034, allocations: 412.9 kB / 1.054 GB, free: 10.08 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/1.034, allocations: 51.41 kB / 1.054 GB, free: 10.03 MB / 0.795 GB Notification: Performance of SimCode: time 7.42e-07/1.034, allocations: 0 / 1.054 GB, free: 10.03 MB / 0.795 GB Notification: Performance of Templates: time 0.4696/1.503, allocations: 59.61 MB / 1.112 GB, free: 255.7 MB / 0.8262 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.906603042036295]