Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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.001222/0.001222, allocations: 119.5 kB / 17.13 MB, free: 5.758 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.001243/0.001243, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.329/1.329, allocations: 225.6 MB / 248.5 MB, free: 3.594 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.00221/0.00221, allocations: 276.5 kB / 303.6 MB, free: 3.727 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.01/1.01, allocations: 180.9 MB / 0.5268 GB, free: 3.035 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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 103.8 kB / 0.7259 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4766, allocations: 94.15 MB / 0.8178 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001846/0.4784, allocations: 1.266 MB / 0.8191 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1598/0.6382, allocations: 138.1 MB / 0.9539 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.6383, allocations: 0 / 0.9539 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.6383, allocations: 0 / 0.9539 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 5.158e-05/0.6383, allocations: 7.938 kB / 0.9539 GB, free: 5.246 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.6395, allocations: 462.3 kB / 0.9544 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 8.654e-05/0.6396, allocations: 43.84 kB / 0.9544 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.195e-05/0.6396, allocations: 4 kB / 0.9544 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.962e-05/0.6397, allocations: 23.91 kB / 0.9544 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.203e-05/0.6397, allocations: 23.91 kB / 0.9545 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.6397, allocations: 0 / 0.9545 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.6412, allocations: 0.8232 MB / 0.9553 GB, free: 3.875 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.6412, allocations: 7.984 kB / 0.9553 GB, free: 3.867 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.6413, allocations: 19.92 kB / 0.9553 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0005912/0.6418, allocations: 454.8 kB / 0.9557 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.6418, allocations: 0 / 0.9557 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of FrontEnd: time 8.52e-07/0.6419, allocations: 3.938 kB / 0.9557 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.6419, allocations: 0 / 0.9557 GB, free: 3.402 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005042/0.6424, allocations: 379.2 kB / 0.9561 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.6424, allocations: 8.031 kB / 0.9561 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.6426, allocations: 8.938 kB / 0.9561 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.6427, allocations: 164.4 kB / 0.9563 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.6427, allocations: 8.375 kB / 0.9563 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.6427, allocations: 4.125 kB / 0.9563 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.6428, allocations: 57.67 kB / 0.9563 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.6429, allocations: 0 / 0.9563 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.6429, allocations: 0 / 0.9563 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.6429, allocations: 4 kB / 0.9563 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.011e-05/0.6429, allocations: 23.92 kB / 0.9564 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.6431, allocations: 165.6 kB / 0.9565 GB, free: 2.457 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.6432, allocations: 46.55 kB / 0.9566 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.6433, allocations: 16.8 kB / 0.9566 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01089/0.6541, allocations: 3.217 MB / 0.9597 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.6542, allocations: 34.56 kB / 0.9598 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.6542, allocations: 0 / 0.9598 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.04215/0.6963, allocations: 14.99 MB / 0.9744 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.6964, allocations: 59.41 kB / 0.9745 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.6965, allocations: 97.84 kB / 0.9746 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.6965, allocations: 25.7 kB / 0.9746 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.6965, allocations: 84.14 kB / 0.9747 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.6966, allocations: 47.58 kB / 0.9747 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.6966, allocations: 25.72 kB / 0.9747 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6968, allocations: 326.8 kB / 0.975 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.196e-05/0.6968, allocations: 16.12 kB / 0.9751 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.453e-05/0.6969, allocations: 30.73 kB / 0.9751 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.697, allocations: 60.84 kB / 0.9751 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.697, allocations: 0 / 0.9751 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002254/0.6972, allocations: 105.6 kB / 0.9752 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.6972, allocations: 4 kB / 0.9752 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.6973, allocations: 4 kB / 0.9752 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.6973, allocations: 0 / 0.9752 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.6974, allocations: 23.98 kB / 0.9753 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.6974, allocations: 0 / 0.9753 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.6974, allocations: 4 kB / 0.9753 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.6974, allocations: 8 kB / 0.9753 GB, free: 14.92 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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.0001044/0.6975, allocations: 125.7 kB / 0.9754 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.6976, allocations: 7.953 kB / 0.9754 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.6978, allocations: 125.4 kB / 0.9755 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6978, allocations: 8 kB / 0.9755 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6978, allocations: 0 / 0.9755 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.6978, allocations: 0 / 0.9755 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.698, allocations: 181.6 kB / 0.9757 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.698, allocations: 0 / 0.9757 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.6981, allocations: 27.92 kB / 0.9757 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6981, allocations: 0 / 0.9757 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.6981, allocations: 4 kB / 0.9757 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.6981, allocations: 4 kB / 0.9757 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6981, allocations: 0 / 0.9757 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.6984, allocations: 164.9 kB / 0.9759 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.367e-05/0.6985, allocations: 89.14 kB / 0.976 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.6985, allocations: 0 / 0.976 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.6987, allocations: 15.98 kB / 0.976 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.6987, allocations: 4 kB / 0.976 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.6987, allocations: 11.98 kB / 0.976 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.706e-05/0.6988, allocations: 79.28 kB / 0.9761 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.6988, allocations: 0 / 0.9761 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001712/0.7005, allocations: 0.5622 MB / 0.9766 GB, free: 13.42 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.002842/0.7033, allocations: 354.2 kB / 0.977 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.7035, allocations: 60.3 kB / 0.977 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7035, allocations: 0 / 0.977 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.647e-05/0.7036, allocations: 43.8 kB / 0.9771 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.7037, allocations: 13.34 kB / 0.9771 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005933/0.7043, allocations: 375.3 kB / 0.9775 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.7047, allocations: 0.6846 MB / 0.9781 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.7047, allocations: 23.44 kB / 0.9781 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.7047, allocations: 0 / 0.9781 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.02297/0.7277, allocations: 14.36 MB / 0.9922 GB, free: 13.48 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.846956963883713] Failed to read output from testmodel.py, exit status != 0: 0.7347528010141104 0.746975086 0.10241232699999994 Calling exit ...