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.001632/0.001632, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001896/0.001896, allocations: 222.1 kB / 23 MB, free: 4.914 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.002476/0.002476, allocations: 289.6 kB / 313.5 MB, free: 2.629 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.122/1.122, allocations: 180.6 MB / 0.5377 GB, free: 14.64 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.002811/0.002811, allocations: 111 kB / 0.7407 GB, free: 27.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1652, allocations: 95.38 MB / 0.8339 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1498/0.315, allocations: 119.6 MB / 0.9507 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02736/0.3423, allocations: 20.24 MB / 0.9704 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.3425, allocations: 3.938 kB / 0.9704 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.3428, allocations: 47.67 kB / 0.9705 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.3431, allocations: 95.38 kB / 0.9706 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01649/0.3595, allocations: 6.935 MB / 0.9774 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.3599, allocations: 255.8 kB / 0.9776 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.36, allocations: 9.734 kB / 0.9776 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.3603, allocations: 139.5 kB / 0.9777 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.3605, allocations: 91.59 kB / 0.9778 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.3605, allocations: 11.94 kB / 0.9778 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3981/0.7586, allocations: 11.11 MB / 0.9887 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.945e-05/0.7587, allocations: 37.59 kB / 0.9887 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.7588, allocations: 76.39 kB / 0.9888 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.7726, allocations: 6.478 MB / 0.9951 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7726, allocations: 0.75 kB / 0.9951 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7726, allocations: 1.094 kB / 0.9951 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.7726, allocations: 0 / 0.9951 GB, free: 8.875 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.00476/0.7774, allocations: 1.166 MB / 0.9963 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.7774, allocations: 10.41 kB / 0.9963 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.7786, allocations: 87.83 kB / 0.9964 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.7789, allocations: 170.5 kB / 0.9965 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.7789, allocations: 14.31 kB / 0.9965 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.7789, allocations: 17.41 kB / 0.9965 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.7801, allocations: 0.6695 MB / 0.9972 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7801, allocations: 0 / 0.9972 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.7802, allocations: 7.594 kB / 0.9972 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.7802, allocations: 4.453 kB / 0.9972 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.7813, allocations: 0.6084 MB / 0.9978 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008148/0.7821, allocations: 0.6926 MB / 0.9985 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007151/0.7828, allocations: 238.9 kB / 0.9987 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.798e-05/0.7829, allocations: 63.91 kB / 0.9988 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07849/0.8614, allocations: 23.37 MB / 1.022 GB, free: 21.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.8614, allocations: 36.94 kB / 1.022 GB, free: 21.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/0.8614, allocations: 0 / 1.022 GB, free: 21.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.001585/0.863, allocations: 423.2 kB / 1.022 GB, free: 21.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.8631, allocations: 58.67 kB / 1.022 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.457e-05/0.8632, allocations: 128.3 kB / 1.022 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.8632, allocations: 31.52 kB / 1.022 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.8632, allocations: 114.1 kB / 1.022 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.8633, allocations: 92.28 kB / 1.022 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-05/0.8634, allocations: 76.19 kB / 1.023 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.8635, allocations: 333.2 kB / 1.023 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.8637, allocations: 81.8 kB / 1.023 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.8639, allocations: 126.9 kB / 1.023 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.8643, allocations: 219.9 kB / 1.023 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.8643, allocations: 0 / 1.023 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006604/0.8649, allocations: 301 kB / 1.024 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.865, allocations: 5.062 kB / 1.024 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.865, allocations: 3.625 kB / 1.024 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.865, allocations: 2.875 kB / 1.024 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.8652, allocations: 81.47 kB / 1.024 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.8652, allocations: 4.703 kB / 1.024 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.8654, allocations: 16.36 kB / 1.024 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.8654, allocations: 25.16 kB / 1.024 GB, free: 20.66 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.0001612/0.8656, allocations: 139.1 kB / 1.024 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.8658, allocations: 19.22 kB / 1.024 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.8676, allocations: 2.48 MB / 1.026 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.8676, allocations: 14.09 kB / 1.026 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.8676, allocations: 3.938 kB / 1.026 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.8677, allocations: 1.781 kB / 1.026 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.8702, allocations: 3.535 MB / 1.03 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.8702, allocations: 1.203 kB / 1.03 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.8704, allocations: 56.48 kB / 1.03 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.8704, allocations: 6.188 kB / 1.03 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.8704, allocations: 10.16 kB / 1.03 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8704, allocations: 0 / 1.03 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8704, allocations: 2.719 kB / 1.03 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/0.8711, allocations: 0.5533 MB / 1.03 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.783e-05/0.8712, allocations: 62.91 kB / 1.03 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.8712, allocations: 8.109 kB / 1.03 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.8714, allocations: 10.28 kB / 1.03 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.8715, allocations: 26.67 kB / 1.03 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.8715, allocations: 21.36 kB / 1.03 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.179e-05/0.8716, allocations: 93.78 kB / 1.031 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6e-08/0.8716, allocations: 1.656 kB / 1.031 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005864/0.8774, allocations: 1.722 MB / 1.032 GB, free: 19.41 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.00843/0.8859, allocations: 1.96 MB / 1.034 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005881/0.8864, allocations: 314.6 kB / 1.034 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.8864, allocations: 5.094 kB / 1.034 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.8867, allocations: 192.4 kB / 1.035 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.8871, allocations: 57.41 kB / 1.035 GB, free: 19 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009133/0.8881, allocations: 0.6684 MB / 1.035 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.8882, allocations: 158.6 kB / 1.035 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.8883, allocations: 49.84 kB / 1.036 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.8883, allocations: 0 / 1.036 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of Templates: time 0.04869/0.937, allocations: 32.92 MB / 1.068 GB, free: 7.59 MB / 0.7481 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.57590299192816] Failed to read output from testmodel.py, exit status != 0: 0.9443302317522466 0.958521587 0.18276240300000002 Calling exit ...