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.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.001394/0.001394, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001721/0.001721, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9771/0.9771, allocations: 177.2 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.002498/0.002498, allocations: 248.8 kB / 260.5 MB, free: 12.66 MB / 250.7 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 0.7298/0.7298, allocations: 138.4 MB / 455.5 MB, free: 1.414 MB / 362.7 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.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 3.246e-06/3.246e-06, allocations: 4 kB / 0.5556 GB, free: 312 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.27e-05, allocations: 6.25 kB / 0.5556 GB, free: 304 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002938/0.002971, allocations: 1.309 MB / 0.5568 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3472/0.3502, allocations: 130.9 MB / 0.6846 GB, free: 20.73 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.3502, allocations: 0 / 0.6846 GB, free: 20.73 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.3503, allocations: 0 / 0.6846 GB, free: 20.73 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.194e-05/0.3503, allocations: 10.2 kB / 0.6846 GB, free: 20.73 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.3515, allocations: 475.4 kB / 0.6851 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.078e-05/0.3515, allocations: 34.83 kB / 0.6851 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.027e-05/0.3516, allocations: 3.031 kB / 0.6851 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.3516, allocations: 29.39 kB / 0.6852 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.836e-05/0.3517, allocations: 17.84 kB / 0.6852 GB, free: 20.35 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.3517, allocations: 2.938 kB / 0.6852 GB, free: 20.35 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009822/0.3527, allocations: 0.7974 MB / 0.686 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.3527, allocations: 13.14 kB / 0.686 GB, free: 19.94 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.3527, allocations: 13.45 kB / 0.686 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.3532, allocations: 0.5654 MB / 0.6865 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3532, allocations: 0 / 0.6865 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3532, allocations: 0 / 0.6865 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.3532, allocations: 0 / 0.6865 GB, free: 19.54 MB / 0.5105 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.0003698/0.3536, allocations: 403.5 kB / 0.6869 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3536, allocations: 11.41 kB / 0.6869 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.3538, allocations: 26.22 kB / 0.687 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.524e-05/0.3538, allocations: 108.6 kB / 0.6871 GB, free: 18.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3538, allocations: 2.688 kB / 0.6871 GB, free: 18.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.3538, allocations: 6.344 kB / 0.6871 GB, free: 18.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.813e-05/0.3539, allocations: 134.4 kB / 0.6872 GB, free: 18.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3539, allocations: 0 / 0.6872 GB, free: 18.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.3539, allocations: 7.938 kB / 0.6872 GB, free: 18.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3539, allocations: 0 / 0.6872 GB, free: 18.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.842e-05/0.354, allocations: 12.05 kB / 0.6872 GB, free: 18.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.462e-05/0.3541, allocations: 109.5 kB / 0.6873 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.543e-05/0.3541, allocations: 51.53 kB / 0.6874 GB, free: 18.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.3541, allocations: 17.34 kB / 0.6874 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004249/0.3584, allocations: 2.466 MB / 0.6898 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3584, allocations: 37.08 kB / 0.6898 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3584, allocations: 0 / 0.6898 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.01379/0.3722, allocations: 6.345 MB / 0.696 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/0.3722, allocations: 59.34 kB / 0.6961 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.394e-05/0.3723, allocations: 149.9 kB / 0.6962 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.333e-06/0.3723, allocations: 33.7 kB / 0.6963 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.277e-05/0.3723, allocations: 126.9 kB / 0.6964 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.3723, allocations: 43.62 kB / 0.6964 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.3723, allocations: 39.36 kB / 0.6965 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.176e-05/0.3724, allocations: 0.4884 MB / 0.6969 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.732e-05/0.3724, allocations: 15.36 kB / 0.6969 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.3724, allocations: 12 kB / 0.697 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.555e-05/0.3725, allocations: 44.67 kB / 0.697 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3725, allocations: 4.125 kB / 0.697 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001156/0.3726, allocations: 100.4 kB / 0.6971 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3726, allocations: 11.94 kB / 0.6971 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3726, allocations: 3.938 kB / 0.6971 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3726, allocations: 0.8125 kB / 0.6971 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.3727, allocations: 20 kB / 0.6971 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.3727, allocations: 0 / 0.6971 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.3727, allocations: 7.984 kB / 0.6971 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.3727, allocations: 4 kB / 0.6971 GB, free: 10.54 MB / 0.5105 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 5.038e-05/0.3728, allocations: 160.6 kB / 0.6973 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.3728, allocations: 15.88 kB / 0.6973 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.373, allocations: 120.5 kB / 0.6974 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.373, allocations: 0 / 0.6974 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.373, allocations: 0.9375 kB / 0.6974 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.373, allocations: 3.984 kB / 0.6974 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.366e-05/0.3731, allocations: 117.2 kB / 0.6975 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3731, allocations: 0 / 0.6975 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-05/0.3731, allocations: 27.98 kB / 0.6976 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3731, allocations: 0 / 0.6976 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3731, allocations: 8.438 kB / 0.6976 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3731, allocations: 4 kB / 0.6976 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3731, allocations: 7.875 kB / 0.6976 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.3733, allocations: 140.3 kB / 0.6977 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.3733, allocations: 9.672 kB / 0.6977 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3733, allocations: 4 kB / 0.6977 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.242e-05/0.3734, allocations: 8 kB / 0.6977 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.3734, allocations: 15.92 kB / 0.6978 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.3734, allocations: 8 kB / 0.6978 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.675e-05/0.3734, allocations: 123.2 kB / 0.6979 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3734, allocations: 0 / 0.6979 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001364/0.3748, allocations: 0.5582 MB / 0.6984 GB, free: 9.16 MB / 0.5105 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.00187/0.3767, allocations: 391.4 kB / 0.6988 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.3768, allocations: 53.28 kB / 0.6989 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3768, allocations: 8 kB / 0.6989 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.794e-05/0.3768, allocations: 33.69 kB / 0.6989 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.377, allocations: 21.23 kB / 0.6989 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.3775, allocations: 286.4 kB / 0.6992 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.848e-05/0.3775, allocations: 61.38 kB / 0.6992 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.594e-05/0.3775, allocations: 31.22 kB / 0.6993 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.3776, allocations: 102.2 kB / 0.6994 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of SimCode: time 6.31e-07/0.3776, allocations: 0 / 0.6994 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of Templates: time 0.034/0.4116, allocations: 27.03 MB / 0.7258 GB, free: 13.16 MB / 0.5417 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.519561214838177]