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.0009141/0.0009141, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.00153/0.00153, allocations: 173 kB / 23.36 MB, free: 1.133 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.9922/0.9922, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.001666/0.001666, allocations: 241.4 kB / 260.5 MB, free: 12.69 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.7468/0.7468, allocations: 138.4 MB / 402.2 MB, free: 0.543 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 1.994e-06/1.994e-06, allocations: 0.5156 kB / 462.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.907e-05, allocations: 3.078 kB / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002124/0.002143, allocations: 1.349 MB / 463.7 MB, free: 44 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1239/0.126, allocations: 132.9 MB / 0.5825 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.126, allocations: 0 / 0.5825 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.1261, allocations: 7.922 kB / 0.5825 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.1261, allocations: 4 kB / 0.5826 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009898/0.1271, allocations: 431.9 kB / 0.583 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.393e-05/0.1272, allocations: 39.84 kB / 0.583 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.1272, allocations: 3.984 kB / 0.583 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.396e-05/0.1273, allocations: 23.98 kB / 0.583 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.1273, allocations: 23.91 kB / 0.5831 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.1274, allocations: 0 / 0.5831 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.1284, allocations: 0.8465 MB / 0.5839 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.1285, allocations: 7.984 kB / 0.5839 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.1285, allocations: 11.98 kB / 0.5839 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.129, allocations: 0.5651 MB / 0.5844 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.129, allocations: 0 / 0.5844 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.042e-06/0.129, allocations: 4 kB / 0.5845 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.237e-06/0.129, allocations: 0 / 0.5845 GB, free: 10.32 MB / 0.5417 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.0003638/0.1294, allocations: 271.9 kB / 0.5847 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1294, allocations: 8.75 kB / 0.5847 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.1296, allocations: 25.67 kB / 0.5847 GB, free: 10 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.571e-05/0.1296, allocations: 109.8 kB / 0.5849 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1297, allocations: 8.375 kB / 0.5849 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.1297, allocations: 7.469 kB / 0.5849 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.1298, allocations: 127.3 kB / 0.585 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1298, allocations: 3.938 kB / 0.585 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.1298, allocations: 4 kB / 0.585 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1298, allocations: 7.938 kB / 0.585 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.507e-05/0.1298, allocations: 15.98 kB / 0.585 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.047e-05/0.1299, allocations: 64.98 kB / 0.5851 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.494e-05/0.13, allocations: 43.69 kB / 0.5851 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.13, allocations: 15.25 kB / 0.5851 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004621/0.1346, allocations: 2.439 MB / 0.5875 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1347, allocations: 42.64 kB / 0.5876 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1347, allocations: 3.938 kB / 0.5876 GB, free: 7.035 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.01479/0.1495, allocations: 6.355 MB / 0.5938 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.1495, allocations: 55.34 kB / 0.5938 GB, free: 0.5664 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.873e-05/0.1495, allocations: 98.72 kB / 0.5939 GB, free: 468 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.1495, allocations: 29.7 kB / 0.5939 GB, free: 432 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.196e-05/0.1496, allocations: 80.14 kB / 0.594 GB, free: 348 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.1496, allocations: 43.67 kB / 0.5941 GB, free: 304 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.1496, allocations: 29.7 kB / 0.5941 GB, free: 268 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.1497, allocations: 314.8 kB / 0.5944 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.1497, allocations: 8 kB / 0.5944 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/0.1498, allocations: 19.92 kB / 0.5944 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.161e-05/0.1498, allocations: 38.58 kB / 0.5945 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1498, allocations: 4 kB / 0.5945 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001247/0.1499, allocations: 84.12 kB / 0.5945 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.15, allocations: 7.984 kB / 0.5945 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.15, allocations: 5.875 kB / 0.5946 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.15, allocations: 4 kB / 0.5946 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.15, allocations: 24 kB / 0.5946 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.15, allocations: 3.984 kB / 0.5946 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.1501, allocations: 0 / 0.5946 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1501, allocations: 8 kB / 0.5946 GB, free: 15.74 MB / 0.5573 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.358e-05/0.1501, allocations: 113.8 kB / 0.5947 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.1502, allocations: 15.88 kB / 0.5947 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.1503, allocations: 96.88 kB / 0.5948 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1503, allocations: 4 kB / 0.5948 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.1503, allocations: 0 / 0.5948 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/0.1503, allocations: 0 / 0.5948 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.094e-05/0.1504, allocations: 77.89 kB / 0.5949 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1504, allocations: 4 kB / 0.5949 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/0.1505, allocations: 27.92 kB / 0.5949 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1505, allocations: 0 / 0.5949 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1505, allocations: 5.125 kB / 0.5949 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1505, allocations: 240 / 0.5949 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1505, allocations: 7.938 kB / 0.5949 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.1506, allocations: 119.2 kB / 0.595 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.1507, allocations: 11.94 kB / 0.5951 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.1507, allocations: 4 kB / 0.5951 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.01e-05/0.1507, allocations: 8 kB / 0.5951 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.1507, allocations: 11.92 kB / 0.5951 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.1507, allocations: 8 kB / 0.5951 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.263e-06/0.1508, allocations: 4.859 kB / 0.5951 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.1508, allocations: 0 / 0.5951 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001111/0.1519, allocations: 0.5621 MB / 0.5956 GB, free: 14.62 MB / 0.5573 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.001988/0.1539, allocations: 392.9 kB / 0.596 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.204e-05/0.1539, allocations: 48.83 kB / 0.5961 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1539, allocations: 4 kB / 0.5961 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.134e-05/0.154, allocations: 28.8 kB / 0.5961 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.1541, allocations: 33.2 kB / 0.5961 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004796/0.1546, allocations: 240.8 kB / 0.5963 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.144e-05/0.1546, allocations: 63.28 kB / 0.5964 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.146e-05/0.1547, allocations: 22.97 kB / 0.5964 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.658e-05/0.1547, allocations: 79.34 kB / 0.5965 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of SimCode: time 9.12e-07/0.1547, allocations: 0 / 0.5965 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of Templates: time 0.02835/0.1831, allocations: 25.85 MB / 0.6217 GB, free: 3.934 MB / 0.573 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.290501106064767]