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.0009098/0.0009098, allocations: 80.89 kB / 19.94 MB, free: 4.551 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.0009864/0.0009864, allocations: 181 kB / 23.36 MB, free: 1.137 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 1.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.002662/0.002662, allocations: 249.8 kB / 260.5 MB, free: 12.68 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.7783/0.7783, allocations: 138.4 MB / 402.2 MB, free: 0.5547 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.553e-06/1.553e-06, allocations: 0 / 462.3 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.034e-05, allocations: 7.5 kB / 462.4 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1247/0.1248, allocations: 131.4 MB / 0.5798 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01919/0.1439, allocations: 22.25 MB / 0.6016 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.1441, allocations: 0 / 0.6016 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.1443, allocations: 47.67 kB / 0.6016 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.1446, allocations: 103.3 kB / 0.6017 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01154/0.1561, allocations: 6.272 MB / 0.6078 GB, free: 2.289 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000305/0.1564, allocations: 254.4 kB / 0.6081 GB, free: 2.043 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.1565, allocations: 10.47 kB / 0.6081 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.1568, allocations: 187.3 kB / 0.6083 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1569, allocations: 75.77 kB / 0.6083 GB, free: 1.777 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.1569, allocations: 8 kB / 0.6083 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01625/0.1731, allocations: 11.96 MB / 0.62 GB, free: 5.797 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 7.83e-05/0.1732, allocations: 35.89 kB / 0.6201 GB, free: 5.762 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 8.584e-05/0.1733, allocations: 63.84 kB / 0.6201 GB, free: 5.699 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.1844, allocations: 8.368 MB / 0.6283 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1844, allocations: 0 / 0.6283 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.92e-07/0.1844, allocations: 0 / 0.6283 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.1844, allocations: 0 / 0.6283 GB, free: 13.31 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.002185/0.1866, allocations: 1.137 MB / 0.6294 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1866, allocations: 8.75 kB / 0.6294 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007738/0.1874, allocations: 172.3 kB / 0.6296 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.1876, allocations: 157.5 kB / 0.6297 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1876, allocations: 16.38 kB / 0.6297 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.1876, allocations: 20.38 kB / 0.6298 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007099/0.1883, allocations: 0.5993 MB / 0.6303 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1883, allocations: 0 / 0.6303 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.1884, allocations: 12 kB / 0.6304 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1884, allocations: 4 kB / 0.6304 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000541/0.1889, allocations: 393.8 kB / 0.6307 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.1895, allocations: 0.6138 MB / 0.6313 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.1899, allocations: 230.9 kB / 0.6316 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.19, allocations: 42.38 kB / 0.6316 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04597/0.236, allocations: 24.77 MB / 0.6558 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.236, allocations: 38.56 kB / 0.6558 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 3.747e-06/0.236, allocations: 1.266 kB / 0.6558 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.0009234/0.2369, allocations: 384.7 kB / 0.6562 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.2369, allocations: 55.41 kB / 0.6562 GB, free: 488 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.237, allocations: 133.2 kB / 0.6564 GB, free: 344 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.237, allocations: 33.7 kB / 0.6564 GB, free: 304 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.2371, allocations: 108.5 kB / 0.6565 GB, free: 192 kB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.2371, allocations: 91.2 kB / 0.6566 GB, free: 100 kB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/0.2372, allocations: 65.64 kB / 0.6567 GB, free: 28 kB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.2373, allocations: 326.9 kB / 0.657 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.2374, allocations: 63.78 kB / 0.657 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.2375, allocations: 101.6 kB / 0.6571 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.2377, allocations: 209.4 kB / 0.6573 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2377, allocations: 0 / 0.6573 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003368/0.238, allocations: 240.3 kB / 0.6576 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.238, allocations: 8 kB / 0.6576 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2381, allocations: 160 / 0.6576 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2381, allocations: 8 kB / 0.6576 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.2382, allocations: 83.84 kB / 0.6576 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.2383, allocations: 0 / 0.6576 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/0.2383, allocations: 15.89 kB / 0.6577 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.2383, allocations: 19.98 kB / 0.6577 GB, free: 14.93 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.026e-05/0.2384, allocations: 124.6 kB / 0.6578 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.2386, allocations: 47.61 kB / 0.6578 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009857/0.2395, allocations: 1.359 MB / 0.6592 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.2395, allocations: 19.98 kB / 0.6592 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.2396, allocations: 0 / 0.6592 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2396, allocations: 3.938 kB / 0.6592 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.2411, allocations: 1.737 MB / 0.6609 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2411, allocations: 0 / 0.6609 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.2412, allocations: 64.62 kB / 0.661 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2412, allocations: 0.8906 kB / 0.661 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2412, allocations: 4 kB / 0.661 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2412, allocations: 4 kB / 0.661 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2412, allocations: 4 kB / 0.661 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.2416, allocations: 445.6 kB / 0.6614 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.2417, allocations: 51.64 kB / 0.6614 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.2417, allocations: 4 kB / 0.6614 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.2418, allocations: 12 kB / 0.6615 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.2418, allocations: 19.95 kB / 0.6615 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.2418, allocations: 4 kB / 0.6615 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.001e-05/0.2418, allocations: 28.84 kB / 0.6615 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2418, allocations: 0 / 0.6615 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003361/0.2452, allocations: 1.719 MB / 0.6632 GB, free: 9.23 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.004748/0.2499, allocations: 2.342 MB / 0.6655 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.2502, allocations: 206.5 kB / 0.6657 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.2502, allocations: 0 / 0.6657 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.2503, allocations: 126.6 kB / 0.6658 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.2506, allocations: 93.09 kB / 0.6659 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000832/0.2515, allocations: 0.5585 MB / 0.6664 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.473e-05/0.2515, allocations: 98.81 kB / 0.6665 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000619/0.2522, allocations: 415.3 kB / 0.6669 GB, free: 5.375 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.2524, allocations: 149.2 kB / 0.6671 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.2524, allocations: 4 kB / 0.6671 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of Templates: time 0.2609/0.5133, allocations: 68.78 MB / 0.7342 GB, free: 51.89 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.827859548851848]