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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 107 kB / 16.36 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009828/0.0009829, allocations: 195.3 kB / 17.29 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 292.9 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8878/0.8878, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 98.83 kB / 0.5966 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1513, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3823/0.5336, allocations: 136.1 MB / 0.8145 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02221/0.5559, allocations: 22.33 MB / 0.8363 GB, free: 172 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.556, allocations: 4 kB / 0.8363 GB, free: 168 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.5563, allocations: 39.69 kB / 0.8364 GB, free: 128 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.5566, allocations: 99.34 kB / 0.8365 GB, free: 28 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01338/0.57, allocations: 6.666 MB / 0.843 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.5703, allocations: 263.9 kB / 0.8432 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.5704, allocations: 9.547 kB / 0.8432 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.5706, allocations: 139.4 kB / 0.8434 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.5708, allocations: 87.66 kB / 0.8435 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.5708, allocations: 12 kB / 0.8435 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01674/0.5875, allocations: 10.96 MB / 0.8542 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.5876, allocations: 43.83 kB / 0.8542 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.5878, allocations: 83.64 kB / 0.8543 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.5981, allocations: 6.152 MB / 0.8603 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.5981, allocations: 0 / 0.8603 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.126e-06/0.5981, allocations: 4 kB / 0.8603 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.5981, allocations: 0 / 0.8603 GB, free: 7.609 MB / 0.6231 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.003097/0.6012, allocations: 1.186 MB / 0.8615 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.6013, allocations: 8.031 kB / 0.8615 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.6024, allocations: 88.66 kB / 0.8616 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.6028, allocations: 228.1 kB / 0.8618 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.6028, allocations: 20.12 kB / 0.8618 GB, free: 6 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.6028, allocations: 15.94 kB / 0.8618 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.604, allocations: 457.7 kB / 0.8622 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.604, allocations: 0 / 0.8622 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.604, allocations: 4 kB / 0.8622 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.6041, allocations: 8 kB / 0.8623 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.6053, allocations: 0.6014 MB / 0.8628 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.6064, allocations: 0.8745 MB / 0.8637 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008104/0.6073, allocations: 255.7 kB / 0.8639 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.6074, allocations: 72.83 kB / 0.864 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08195/0.6894, allocations: 35.42 MB / 0.8986 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.6894, allocations: 38.56 kB / 0.8986 GB, free: 13.05 MB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 1.753e-06/0.6894, allocations: 0 / 0.8986 GB, free: 13.05 MB / 0.67 GB Notification: Performance of matching and sorting (n=25): time 0.001729/0.6912, allocations: 428.5 kB / 0.899 GB, free: 12.62 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.6912, allocations: 55.41 kB / 0.8991 GB, free: 12.56 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.6913, allocations: 136.2 kB / 0.8992 GB, free: 12.42 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.6914, allocations: 33.7 kB / 0.8993 GB, free: 12.38 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.6915, allocations: 108.4 kB / 0.8994 GB, free: 12.27 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.6915, allocations: 82.75 kB / 0.8994 GB, free: 12.19 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.6917, allocations: 85.56 kB / 0.8995 GB, free: 12.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.6918, allocations: 330.7 kB / 0.8998 GB, free: 11.77 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.6919, allocations: 79.95 kB / 0.8999 GB, free: 11.69 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.6922, allocations: 130 kB / 0.9 GB, free: 11.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.6926, allocations: 232.5 kB / 0.9003 GB, free: 11.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6926, allocations: 0 / 0.9003 GB, free: 11.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006999/0.6933, allocations: 289.3 kB / 0.9005 GB, free: 11.01 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6933, allocations: 4 kB / 0.9005 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.6933, allocations: 4 kB / 0.9005 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.6934, allocations: 3.984 kB / 0.9005 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.6937, allocations: 79.89 kB / 0.9006 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.6937, allocations: 12.08 kB / 0.9006 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.6939, allocations: 27.69 kB / 0.9007 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.6939, allocations: 23.92 kB / 0.9007 GB, free: 10.86 MB / 0.67 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.0001283/0.694, allocations: 129.8 kB / 0.9008 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.6942, allocations: 15.81 kB / 0.9008 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.6964, allocations: 2.334 MB / 0.9031 GB, free: 8.367 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.6965, allocations: 11.98 kB / 0.9031 GB, free: 8.355 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6965, allocations: 0 / 0.9031 GB, free: 8.355 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.6965, allocations: 7.984 kB / 0.9031 GB, free: 8.348 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.6995, allocations: 3.435 MB / 0.9065 GB, free: 4.801 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6995, allocations: 0 / 0.9065 GB, free: 4.801 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.6998, allocations: 51.89 kB / 0.9065 GB, free: 4.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.6998, allocations: 4 kB / 0.9065 GB, free: 4.746 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.6998, allocations: 15.92 kB / 0.9065 GB, free: 4.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.6998, allocations: 0 / 0.9065 GB, free: 4.73 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6999, allocations: 0 / 0.9065 GB, free: 4.73 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/0.7006, allocations: 0.5475 MB / 0.9071 GB, free: 4.168 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.7007, allocations: 144.5 kB / 0.9072 GB, free: 4.008 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.7008, allocations: 7.938 kB / 0.9072 GB, free: 4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.701, allocations: 19.92 kB / 0.9072 GB, free: 3.98 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.701, allocations: 11.98 kB / 0.9073 GB, free: 3.969 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.7011, allocations: 15.98 kB / 0.9073 GB, free: 3.953 MB / 0.67 GB Notification: Performance of sorting global known variables: time 7.037e-05/0.7012, allocations: 105.3 kB / 0.9074 GB, free: 3.852 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7012, allocations: 0 / 0.9074 GB, free: 3.852 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003443/0.7046, allocations: 1.632 MB / 0.909 GB, free: 2.219 MB / 0.67 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.006344/0.711, allocations: 1.893 MB / 0.9108 GB, free: 324 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005498/0.7115, allocations: 320.3 kB / 0.9111 GB, free: 4 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7115, allocations: 0 / 0.9111 GB, free: 4 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.7118, allocations: 248.3 kB / 0.9114 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.7123, allocations: 68.23 kB / 0.9114 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009252/0.7133, allocations: 0.6228 MB / 0.912 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.7136, allocations: 0.7622 MB / 0.9128 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004904/0.714, allocations: 412.9 kB / 0.9132 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.7142, allocations: 51.41 kB / 0.9132 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of SimCode: time 2.5e-07/0.7142, allocations: 0 / 0.9132 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of Templates: time 0.2992/1.013, allocations: 57.01 MB / 0.9689 GB, free: 245.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile (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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)