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.0009259/0.0009259, allocations: 80.94 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.001247/0.001247, 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.969/0.969, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.001545/0.001545, allocations: 246.3 kB / 260.5 MB, free: 12.72 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.7808/0.7808, allocations: 138.4 MB / 402.2 MB, free: 0.5859 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.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: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 462.3 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.197e-05, allocations: 2.859 kB / 462.3 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1222/0.1222, allocations: 131.3 MB / 0.5797 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02032/0.1425, allocations: 22.25 MB / 0.6015 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.1427, allocations: 0 / 0.6015 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.143, allocations: 39.75 kB / 0.6015 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.1433, allocations: 111.2 kB / 0.6016 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01497/0.1583, allocations: 7.042 MB / 0.6085 GB, free: 1.621 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.1587, allocations: 262.3 kB / 0.6087 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.1587, allocations: 6.469 kB / 0.6087 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.159, allocations: 191.3 kB / 0.6089 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1591, allocations: 71.78 kB / 0.609 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1591, allocations: 8 kB / 0.609 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01665/0.1758, allocations: 11.13 MB / 0.6199 GB, free: 5.953 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.1759, allocations: 39.89 kB / 0.6199 GB, free: 5.914 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.176, allocations: 67.81 kB / 0.62 GB, free: 5.848 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01604/0.1921, allocations: 8.353 MB / 0.6281 GB, free: 13.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.1921, allocations: 4 kB / 0.6281 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1921, allocations: 0 / 0.6281 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.1921, allocations: 7.938 kB / 0.6281 GB, free: 13.46 MB / 0.5886 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.002791/0.1949, allocations: 1.133 MB / 0.6292 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1949, allocations: 8.75 kB / 0.6293 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006354/0.1956, allocations: 168.3 kB / 0.6294 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.1957, allocations: 161.5 kB / 0.6296 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1958, allocations: 12.94 kB / 0.6296 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.1958, allocations: 16.38 kB / 0.6296 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.1964, allocations: 0.6054 MB / 0.6302 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1964, allocations: 0.6094 kB / 0.6302 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.1965, allocations: 8 kB / 0.6302 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.1965, allocations: 4 kB / 0.6302 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.197, allocations: 397.8 kB / 0.6306 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.1975, allocations: 0.6157 MB / 0.6312 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.1979, allocations: 221.9 kB / 0.6314 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.198, allocations: 46.38 kB / 0.6314 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04377/0.2417, allocations: 24.78 MB / 0.6556 GB, free: 1.125 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.2418, allocations: 34.56 kB / 0.6557 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.904e-06/0.2418, allocations: 4 kB / 0.6557 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.0008732/0.2426, allocations: 376.7 kB / 0.656 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.2427, allocations: 59.41 kB / 0.6561 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.449e-05/0.2427, allocations: 132.8 kB / 0.6562 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.2428, allocations: 29.7 kB / 0.6562 GB, free: 472 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.2428, allocations: 120.5 kB / 0.6564 GB, free: 348 kB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.2429, allocations: 83.22 kB / 0.6564 GB, free: 264 kB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.369e-05/0.2429, allocations: 69.64 kB / 0.6565 GB, free: 188 kB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.243, allocations: 322.8 kB / 0.6568 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.2431, allocations: 63.94 kB / 0.6569 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.2432, allocations: 114.1 kB / 0.657 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.2434, allocations: 191.7 kB / 0.6572 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2434, allocations: 0 / 0.6572 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003112/0.2437, allocations: 244.2 kB / 0.6574 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2437, allocations: 4 kB / 0.6574 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2437, allocations: 4 kB / 0.6574 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2437, allocations: 6.297 kB / 0.6574 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.2439, allocations: 68.05 kB / 0.6575 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.2439, allocations: 7.984 kB / 0.6575 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.244, allocations: 19.83 kB / 0.6575 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.244, allocations: 15.98 kB / 0.6575 GB, free: 15.1 MB / 0.6198 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 8.834e-05/0.2441, allocations: 128.6 kB / 0.6576 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.2442, allocations: 47.62 kB / 0.6577 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009435/0.2451, allocations: 1.362 MB / 0.659 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.2451, allocations: 11.98 kB / 0.659 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.2451, allocations: 4 kB / 0.659 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2451, allocations: 0 / 0.659 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.2464, allocations: 1.741 MB / 0.6607 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.2464, allocations: 0 / 0.6607 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.2465, allocations: 51.89 kB / 0.6608 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2465, allocations: 0 / 0.6608 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.2465, allocations: 13.67 kB / 0.6608 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2465, allocations: 0 / 0.6608 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2465, allocations: 0 / 0.6608 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00062/0.2471, allocations: 444.3 kB / 0.6612 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.2472, allocations: 59.58 kB / 0.6613 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.2472, allocations: 4.625 kB / 0.6613 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.2473, allocations: 12 kB / 0.6613 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.2473, allocations: 11.97 kB / 0.6613 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.2474, allocations: 11.98 kB / 0.6613 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.411e-05/0.2474, allocations: 28.83 kB / 0.6613 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.2474, allocations: 0 / 0.6613 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003548/0.2509, allocations: 1.719 MB / 0.663 GB, free: 9.402 MB / 0.6198 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.005063/0.256, allocations: 2.338 MB / 0.6653 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003342/0.2563, allocations: 210.5 kB / 0.6655 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.2563, allocations: 0 / 0.6655 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.2564, allocations: 126.6 kB / 0.6656 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.2568, allocations: 94.7 kB / 0.6657 GB, free: 6.648 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009396/0.2577, allocations: 0.5546 MB / 0.6663 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.119e-05/0.2578, allocations: 94.83 kB / 0.6663 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003549/0.2581, allocations: 414.2 kB / 0.6667 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.2584, allocations: 157.2 kB / 0.6669 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of SimCode: time 1.603e-06/0.2584, allocations: 0 / 0.6669 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of Templates: time 0.2799/0.5383, allocations: 68.78 MB / 0.7341 GB, free: 52.13 MB / 0.6198 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.797783254645765]