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.0007414/0.0007414, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009214/0.001663, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006743/0.0006743, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009839/0.001658, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9674/0.9674, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09023/1.058, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] 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.001406/0.001406, allocations: 225.9 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001214/0.00262, allocations: 483.6 kB / 244.8 MB, free: 14.05 MB / 250.7 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 0.6781/0.6781, allocations: 138.7 MB / 384.3 MB, free: 352 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07968/0.7578, allocations: 42.4 MB / 426.7 MB, free: 5.816 MB / 410.7 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.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.343e-06/1.343e-06, allocations: 0 / 428.1 MB, free: 4.465 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.457e-05, allocations: 10.19 kB / 428.1 MB, free: 4.453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3059/0.3059, allocations: 131.8 MB / 0.5467 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.02091/0.3268, allocations: 22.37 MB / 0.5686 GB, free: 6.188 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.3269, allocations: 3.938 kB / 0.5686 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.3271, allocations: 39.69 kB / 0.5686 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.3273, allocations: 99.3 kB / 0.5687 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.01122/0.3386, allocations: 6.255 MB / 0.5748 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.3388, allocations: 255.8 kB / 0.5751 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.3389, allocations: 18.44 kB / 0.5751 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002769/0.3392, allocations: 179.4 kB / 0.5752 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.3393, allocations: 75.78 kB / 0.5753 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.3393, allocations: 8 kB / 0.5753 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/0.354, allocations: 12 MB / 0.587 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.656e-05/0.3541, allocations: 31.88 kB / 0.5871 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.636e-05/0.3542, allocations: 47.94 kB / 0.5871 GB, free: 3.172 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.008698/0.3629, allocations: 6.219 MB / 0.5932 GB, free: 12.94 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.3629, allocations: 0 / 0.5932 GB, free: 12.94 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3629, allocations: 0 / 0.5932 GB, free: 12.94 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.3629, allocations: 0 / 0.5932 GB, free: 12.94 MB / 0.573 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.001935/0.3648, allocations: 1.651 MB / 0.5948 GB, free: 11.25 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.3649, allocations: 8.75 kB / 0.5948 GB, free: 11.24 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006159/0.3655, allocations: 166.8 kB / 0.595 GB, free: 11.08 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.3657, allocations: 165.5 kB / 0.5951 GB, free: 10.89 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3657, allocations: 12.38 kB / 0.5951 GB, free: 10.88 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.3657, allocations: 24.31 kB / 0.5952 GB, free: 10.86 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006374/0.3663, allocations: 0.5862 MB / 0.5957 GB, free: 10.2 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.3663, allocations: 0 / 0.5957 GB, free: 10.2 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.3665, allocations: 12 kB / 0.5958 GB, free: 10.19 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3665, allocations: 4 kB / 0.5958 GB, free: 10.18 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/0.367, allocations: 404 kB / 0.5961 GB, free: 9.793 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.3676, allocations: 0.6234 MB / 0.5968 GB, free: 9.145 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.3679, allocations: 226.5 kB / 0.597 GB, free: 8.922 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.368, allocations: 50.73 kB / 0.597 GB, free: 8.871 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04836/0.4164, allocations: 24.76 MB / 0.6212 GB, free: 80 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.4164, allocations: 42.5 kB / 0.6212 GB, free: 28 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.4164, allocations: 4 kB / 0.6212 GB, free: 24 kB / 0.5886 GB Notification: Performance of matching and sorting (n=25): time 0.001153/0.4175, allocations: 381.8 kB / 0.6216 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.4176, allocations: 55.41 kB / 0.6217 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.4177, allocations: 131.5 kB / 0.6218 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.4177, allocations: 33.7 kB / 0.6218 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.4177, allocations: 116.5 kB / 0.6219 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.223e-05/0.4178, allocations: 91.19 kB / 0.622 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/0.4179, allocations: 65.66 kB / 0.6221 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.418, allocations: 322.8 kB / 0.6224 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.4181, allocations: 63.88 kB / 0.6224 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.4182, allocations: 113 kB / 0.6226 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.4185, allocations: 208 kB / 0.6228 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.4185, allocations: 0 / 0.6228 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004383/0.4189, allocations: 237 kB / 0.623 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.4189, allocations: 4 kB / 0.623 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.419, allocations: 8.156 kB / 0.623 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.419, allocations: 0 / 0.623 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.4192, allocations: 99.83 kB / 0.6231 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4192, allocations: 10.36 kB / 0.6231 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-05/0.4193, allocations: 15.89 kB / 0.6231 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.4194, allocations: 15.98 kB / 0.6231 GB, free: 14 MB / 0.6042 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 0.0001044/0.4195, allocations: 124.7 kB / 0.6232 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.4196, allocations: 43.62 kB / 0.6233 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.421, allocations: 1.367 MB / 0.6246 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.421, allocations: 11.98 kB / 0.6246 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.421, allocations: 2.625 kB / 0.6246 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.421, allocations: 3.984 kB / 0.6246 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.4226, allocations: 1.737 MB / 0.6263 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.4226, allocations: 0 / 0.6263 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.4228, allocations: 63.94 kB / 0.6264 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.4229, allocations: 55.59 kB / 0.6265 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4229, allocations: 0 / 0.6265 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.4229, allocations: 12 kB / 0.6265 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.4229, allocations: 0 / 0.6265 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4229, allocations: 0 / 0.6265 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.4233, allocations: 440.4 kB / 0.6269 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.4234, allocations: 7.984 kB / 0.6269 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.4235, allocations: 8 kB / 0.6269 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.4235, allocations: 19.97 kB / 0.6269 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.4235, allocations: 11.98 kB / 0.6269 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.473e-05/0.4236, allocations: 17.98 kB / 0.6269 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.4236, allocations: 0 / 0.6269 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003806/0.4274, allocations: 1.723 MB / 0.6286 GB, free: 8.309 MB / 0.6042 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.005875/0.4332, allocations: 2.396 MB / 0.631 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000598/0.4338, allocations: 218.4 kB / 0.6312 GB, free: 5.703 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/0.4338, allocations: 0 / 0.6312 GB, free: 5.703 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.434, allocations: 132.6 kB / 0.6313 GB, free: 5.574 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.4345, allocations: 204.8 kB / 0.6315 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.4385, allocations: 0.5691 MB / 0.6321 GB, free: 4.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.586e-05/0.4386, allocations: 98.83 kB / 0.6321 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004546/0.439, allocations: 409.3 kB / 0.6325 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.4393, allocations: 149.2 kB / 0.6327 GB, free: 4.098 MB / 0.6042 GB Notification: Performance of SimCode: time 9.81e-07/0.4393, allocations: 0 / 0.6327 GB, free: 4.098 MB / 0.6042 GB Notification: Performance of Templates: time 0.255/0.6943, allocations: 58.66 MB / 0.69 GB, free: 67.79 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: 5.344299688003957]