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.001257/0.001257, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001512/0.001512, allocations: 212.6 kB / 22.24 MB, free: 5.242 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.797 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.00267/0.00267, allocations: 280.4 kB / 312.7 MB, free: 2.707 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.276/1.276, allocations: 180.6 MB / 0.5369 GB, free: 14.73 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.003033/0.003033, allocations: 103.1 kB / 0.74 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1877, allocations: 95.38 MB / 0.8331 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1632/0.3509, allocations: 119.6 MB / 0.9499 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03091/0.3818, allocations: 20.24 MB / 0.9697 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.382, allocations: 0 / 0.9697 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.3824, allocations: 43.69 kB / 0.9698 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00049/0.3829, allocations: 103.4 kB / 0.9699 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0226/0.4055, allocations: 6.936 MB / 0.9766 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005575/0.406, allocations: 251.9 kB / 0.9769 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.478e-05/0.4061, allocations: 13.73 kB / 0.9769 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004078/0.4065, allocations: 151.4 kB / 0.977 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.4067, allocations: 79.66 kB / 0.9771 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.4068, allocations: 8 kB / 0.9771 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5344/0.9412, allocations: 11.11 MB / 0.988 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.9413, allocations: 39.05 kB / 0.988 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.9415, allocations: 74.2 kB / 0.9881 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01745/0.9589, allocations: 6.475 MB / 0.9944 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.9589, allocations: 0 / 0.9944 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9589, allocations: 0 / 0.9944 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.9589, allocations: 4.156 kB / 0.9944 GB, free: 8.723 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.005778/0.9647, allocations: 1.167 MB / 0.9955 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.9648, allocations: 11.19 kB / 0.9955 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.9659, allocations: 87.61 kB / 0.9956 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.9662, allocations: 170.8 kB / 0.9958 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.9662, allocations: 10.53 kB / 0.9958 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.9663, allocations: 19.75 kB / 0.9958 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.9676, allocations: 0.6682 MB / 0.9965 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.9676, allocations: 3.406 kB / 0.9965 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.9676, allocations: 9.094 kB / 0.9965 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.9676, allocations: 8.281 kB / 0.9965 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.9688, allocations: 0.605 MB / 0.9971 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000862/0.9696, allocations: 0.6942 MB / 0.9978 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/0.9704, allocations: 241.7 kB / 0.998 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.9705, allocations: 62.77 kB / 0.998 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08415/1.055, allocations: 23.37 MB / 1.021 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/1.055, allocations: 36.75 kB / 1.021 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/1.055, allocations: 0 / 1.021 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.001607/1.056, allocations: 423.9 kB / 1.021 GB, free: 21.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/1.056, allocations: 57.53 kB / 1.021 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/1.056, allocations: 129.4 kB / 1.021 GB, free: 21.19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/1.056, allocations: 32.48 kB / 1.022 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/1.057, allocations: 113.1 kB / 1.022 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/1.057, allocations: 89.88 kB / 1.022 GB, free: 20.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.39e-05/1.057, allocations: 81.27 kB / 1.022 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.057, allocations: 327.5 kB / 1.022 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/1.057, allocations: 80.69 kB / 1.022 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/1.057, allocations: 127.1 kB / 1.022 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/1.058, allocations: 226 kB / 1.023 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/1.058, allocations: 0 / 1.023 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006784/1.058, allocations: 296 kB / 1.023 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.058, allocations: 5.156 kB / 1.023 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.058, allocations: 0 / 1.023 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.058, allocations: 9.625 kB / 1.023 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/1.059, allocations: 78.42 kB / 1.023 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.059, allocations: 2.281 kB / 1.023 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/1.059, allocations: 17.83 kB / 1.023 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/1.059, allocations: 26.44 kB / 1.023 GB, free: 20.51 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.0001271/1.059, allocations: 133.8 kB / 1.023 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/1.059, allocations: 18.19 kB / 1.023 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/1.061, allocations: 2.485 MB / 1.025 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/1.061, allocations: 13 kB / 1.026 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.061, allocations: 4 kB / 1.026 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.061, allocations: 3.891 kB / 1.026 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/1.064, allocations: 3.539 MB / 1.029 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.064, allocations: 0 / 1.029 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/1.064, allocations: 56.94 kB / 1.029 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.064, allocations: 0 / 1.029 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/1.064, allocations: 12.05 kB / 1.029 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.064, allocations: 2.562 kB / 1.029 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.064, allocations: 0 / 1.029 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006898/1.065, allocations: 0.5578 MB / 1.03 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.482e-05/1.065, allocations: 62.62 kB / 1.03 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/1.065, allocations: 13.44 kB / 1.03 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/1.065, allocations: 10.05 kB / 1.03 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/1.065, allocations: 26.12 kB / 1.03 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/1.065, allocations: 14.59 kB / 1.03 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.533e-05/1.065, allocations: 100 kB / 1.03 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.065, allocations: 2.688 kB / 1.03 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007548/1.073, allocations: 1.71 MB / 1.031 GB, free: 19.27 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.01141/1.084, allocations: 1.965 MB / 1.033 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006628/1.085, allocations: 316.2 kB / 1.034 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.085, allocations: 7.844 kB / 1.034 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/1.085, allocations: 197.9 kB / 1.034 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/1.085, allocations: 39.34 kB / 1.034 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009671/1.086, allocations: 0.6447 MB / 1.035 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/1.087, allocations: 159.5 kB / 1.035 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004617/1.087, allocations: 407.9 kB / 1.035 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/1.087, allocations: 47.62 kB / 1.035 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/1.087, allocations: 0 / 1.035 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.08633/1.173, allocations: 59.56 MB / 1.093 GB, free: 12.58 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.210222885012627] Failed to read output from testmodel.py, exit status != 0: 1.1808069422841072 1.194024914 0.23206721600000002 Calling exit ...