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.001479/0.001479, allocations: 112.5 kB / 17.13 MB, free: 5.914 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.001484/0.001484, allocations: 198 kB / 20.08 MB, free: 2.977 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.343/1.343, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.002348/0.002348, allocations: 275.9 kB / 303.6 MB, free: 3.695 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.001/1.001, allocations: 180.9 MB / 0.5268 GB, free: 2.648 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.002674/0.002674, allocations: 103.8 kB / 0.7259 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4833/0.486, allocations: 94.15 MB / 0.8179 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1545/0.6405, allocations: 136.5 MB / 0.9512 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02932/0.6698, allocations: 22.77 MB / 0.9734 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.67, allocations: 0 / 0.9734 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.6702, allocations: 47.67 kB / 0.9734 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.6706, allocations: 99.41 kB / 0.9735 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01702/0.6876, allocations: 6.957 MB / 0.9803 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004373/0.688, allocations: 251.9 kB / 0.9806 GB, free: 9.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.6881, allocations: 9.547 kB / 0.9806 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.6884, allocations: 143.5 kB / 0.9807 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.6886, allocations: 95.59 kB / 0.9808 GB, free: 9.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.6887, allocations: 8 kB / 0.9808 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02202/0.7107, allocations: 11.66 MB / 0.9922 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.7108, allocations: 35.84 kB / 0.9922 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.7109, allocations: 83.64 kB / 0.9923 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0144/0.7253, allocations: 6.486 MB / 0.9987 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.7253, allocations: 0 / 0.9987 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7253, allocations: 0 / 0.9987 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.7253, allocations: 0 / 0.9987 GB, free: 7.426 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.003523/0.7289, allocations: 1.25 MB / 0.9999 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.7289, allocations: 8.031 kB / 0.9999 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.73, allocations: 88.75 kB / 1 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.7303, allocations: 224.1 kB / 1 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.7303, allocations: 16.12 kB / 1 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.7304, allocations: 12 kB / 1 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.7316, allocations: 464.3 kB / 1.001 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.7316, allocations: 0 / 1.001 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.7316, allocations: 7.938 kB / 1.001 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.7316, allocations: 4 kB / 1.001 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.7329, allocations: 0.597 MB / 1.001 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.7341, allocations: 0.8862 MB / 1.002 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008381/0.735, allocations: 237.3 kB / 1.002 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.7351, allocations: 68.83 kB / 1.002 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09137/0.8264, allocations: 35.43 MB / 1.037 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.8265, allocations: 43.16 kB / 1.037 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.8265, allocations: 0 / 1.037 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.001811/0.8283, allocations: 424.4 kB / 1.037 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.8284, allocations: 55.41 kB / 1.038 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.8285, allocations: 135.2 kB / 1.038 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.8285, allocations: 29.7 kB / 1.038 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.8286, allocations: 116.5 kB / 1.038 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.946e-05/0.8287, allocations: 87.22 kB / 1.038 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.8288, allocations: 81.66 kB / 1.038 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.829, allocations: 326.8 kB / 1.038 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.8292, allocations: 75.95 kB / 1.038 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.8294, allocations: 133.5 kB / 1.038 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.8299, allocations: 221 kB / 1.039 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8299, allocations: 3.938 kB / 1.039 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007787/0.8307, allocations: 300.9 kB / 1.039 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.8307, allocations: 4 kB / 1.039 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.8307, allocations: 4 kB / 1.039 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.8307, allocations: 3.984 kB / 1.039 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.831, allocations: 79.89 kB / 1.039 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.831, allocations: 3.984 kB / 1.039 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.8312, allocations: 23.83 kB / 1.039 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.8312, allocations: 19.98 kB / 1.039 GB, free: 10.63 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.0001502/0.8314, allocations: 129.8 kB / 1.039 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.8316, allocations: 19.97 kB / 1.039 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.8341, allocations: 2.346 MB / 1.042 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.8341, allocations: 11.98 kB / 1.042 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8342, allocations: 0 / 1.042 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.8342, allocations: 7.922 kB / 1.042 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/0.8378, allocations: 3.431 MB / 1.045 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.8378, allocations: 0 / 1.045 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.838, allocations: 55.89 kB / 1.045 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.838, allocations: 8 kB / 1.045 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.8381, allocations: 11.92 kB / 1.045 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8381, allocations: 4 kB / 1.045 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.8381, allocations: 0 / 1.045 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008148/0.8389, allocations: 0.5428 MB / 1.045 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.839, allocations: 144.7 kB / 1.046 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.8391, allocations: 7.938 kB / 1.046 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.8393, allocations: 19.92 kB / 1.046 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.8393, allocations: 19.98 kB / 1.046 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.8394, allocations: 11.98 kB / 1.046 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.816e-05/0.8395, allocations: 105.3 kB / 1.046 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of sort global known variables: time 6e-08/0.8395, allocations: 0 / 1.046 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004397/0.8439, allocations: 1.707 MB / 1.047 GB, free: 1.891 MB / 0.7794 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.008423/0.8523, allocations: 1.959 MB / 1.049 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007423/0.853, allocations: 305.6 kB / 1.05 GB, free: 15.62 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.853, allocations: 320 / 1.05 GB, free: 15.62 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.8533, allocations: 200.5 kB / 1.05 GB, free: 15.42 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000574/0.8539, allocations: 59.89 kB / 1.05 GB, free: 15.36 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.8551, allocations: 0.6775 MB / 1.051 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.8555, allocations: 0.7661 MB / 1.051 GB, free: 13.86 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.8557, allocations: 51.41 kB / 1.051 GB, free: 13.8 MB / 0.795 GB Notification: Performance of SimCode: time 4.71e-07/0.8557, allocations: 0 / 1.051 GB, free: 13.8 MB / 0.795 GB Notification: Performance of Templates: time 0.04858/0.9043, allocations: 32.73 MB / 1.083 GB, free: 13.05 MB / 0.8262 GB " [Timeout remaining time 659] 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: 11.070344878127798] Failed to read output from testmodel.py, exit status != 0: 0.9124508600216359 0.925301525 0.197187614 Calling exit ...