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.001259/0.001259, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001431/0.001431, allocations: 216.2 kB / 23.01 MB, free: 4.566 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.351/1.351, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.002439/0.002439, allocations: 290.2 kB / 313.5 MB, free: 2.816 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.162/1.162, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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: 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: 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.002812/0.002812, allocations: 99.12 kB / 0.7408 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1707, allocations: 95.38 MB / 0.834 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1575/0.3282, allocations: 139.4 MB / 0.9701 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4192/0.7473, allocations: 22.86 MB / 0.9924 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.7475, allocations: 1.625 kB / 0.9924 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.7478, allocations: 45.95 kB / 0.9925 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.7481, allocations: 105 kB / 0.9926 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0173/0.7653, allocations: 6.973 MB / 0.9994 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004699/0.7658, allocations: 259 kB / 0.9996 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.7659, allocations: 7.875 kB / 0.9996 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.7662, allocations: 146.5 kB / 0.9998 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.7664, allocations: 95.75 kB / 0.9999 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.7664, allocations: 8.406 kB / 0.9999 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02525/0.7916, allocations: 11.71 MB / 1.011 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.7918, allocations: 36.69 kB / 1.011 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.792, allocations: 83.47 kB / 1.011 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01834/0.8104, allocations: 6.503 MB / 1.018 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.8104, allocations: 0.9688 kB / 1.018 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.755e-06/0.8104, allocations: 3.281 kB / 1.018 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.8104, allocations: 0 / 1.018 GB, free: 3.203 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.005825/0.8162, allocations: 1.169 MB / 1.019 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.8162, allocations: 14.62 kB / 1.019 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.8174, allocations: 81.86 kB / 1.019 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.8177, allocations: 174.7 kB / 1.019 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.8177, allocations: 10.88 kB / 1.019 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.8177, allocations: 22.33 kB / 1.019 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.8188, allocations: 472 kB / 1.02 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.8188, allocations: 2.203 kB / 1.02 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.8188, allocations: 12.41 kB / 1.02 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.8188, allocations: 3.906 kB / 1.02 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.8199, allocations: 0.6185 MB / 1.02 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.8209, allocations: 0.8613 MB / 1.021 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/0.8216, allocations: 239.1 kB / 1.021 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.806e-05/0.8217, allocations: 62.92 kB / 1.021 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07841/0.9001, allocations: 23.3 MB / 1.044 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.9002, allocations: 39.09 kB / 1.044 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 2.344e-06/0.9002, allocations: 0 / 1.044 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.001737/0.9019, allocations: 425.5 kB / 1.045 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.902, allocations: 59.78 kB / 1.045 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.9021, allocations: 139 kB / 1.045 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.9021, allocations: 32.45 kB / 1.045 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.9022, allocations: 113.4 kB / 1.045 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-05/0.9023, allocations: 91.98 kB / 1.045 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.9024, allocations: 73.36 kB / 1.045 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.9026, allocations: 328.8 kB / 1.045 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.9027, allocations: 84.47 kB / 1.045 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.9029, allocations: 129.1 kB / 1.046 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.9034, allocations: 218.1 kB / 1.046 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9034, allocations: 0 / 1.046 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007014/0.9041, allocations: 297.4 kB / 1.046 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.9041, allocations: 6.719 kB / 1.046 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.9041, allocations: 1.75 kB / 1.046 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.9041, allocations: 1.625 kB / 1.046 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.9044, allocations: 83.64 kB / 1.046 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.587e-06/0.9044, allocations: 9.125 kB / 1.046 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.9046, allocations: 28.19 kB / 1.046 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.9046, allocations: 28.34 kB / 1.046 GB, free: 8.805 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.0001381/0.9048, allocations: 127.5 kB / 1.046 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.9049, allocations: 17.88 kB / 1.046 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.9073, allocations: 2.487 MB / 1.049 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.9074, allocations: 11.8 kB / 1.049 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9074, allocations: 0 / 1.049 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.9074, allocations: 4 kB / 1.049 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/0.9108, allocations: 3.601 MB / 1.052 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.9108, allocations: 0 / 1.052 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.911, allocations: 62.03 kB / 1.052 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.911, allocations: 0 / 1.052 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.911, allocations: 7.438 kB / 1.052 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.911, allocations: 3.938 kB / 1.052 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.911, allocations: 0 / 1.052 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007687/0.9118, allocations: 0.5639 MB / 1.053 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.9119, allocations: 62.66 kB / 1.053 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.912, allocations: 7.625 kB / 1.053 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.9122, allocations: 17.53 kB / 1.053 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.9122, allocations: 20.69 kB / 1.053 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.9123, allocations: 11.98 kB / 1.053 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.253e-05/0.9123, allocations: 111.3 kB / 1.053 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9123, allocations: 0 / 1.053 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006185/0.9185, allocations: 1.718 MB / 1.055 GB, free: 2.371 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.01003/0.9286, allocations: 1.964 MB / 1.057 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008078/0.9294, allocations: 322.7 kB / 1.057 GB, free: 396 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.9294, allocations: 0 / 1.057 GB, free: 396 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.9297, allocations: 197.8 kB / 1.057 GB, free: 268 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000638/0.9303, allocations: 63.92 kB / 1.057 GB, free: 220 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.9316, allocations: 0.6791 MB / 1.058 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.932, allocations: 0.7634 MB / 1.059 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.9322, allocations: 51.25 kB / 1.059 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of SimCode: time 7.31e-07/0.9322, allocations: 4 kB / 1.059 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of Templates: time 0.05563/0.9878, allocations: 33 MB / 1.091 GB, free: 13.81 MB / 0.7794 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.685244752792642] Failed to read output from testmodel.py, exit status != 0: 0.9958348530344665 1.011437566 0.19782474899999994 Calling exit ...