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.001056/0.001056, allocations: 112.1 kB / 16.37 MB, free: 6.008 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.001012/0.001012, allocations: 192.3 kB / 17.3 MB, free: 5.617 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.255/1.255, 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.002034/0.002034, allocations: 283.5 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.9221/0.9221, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 98.69 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1454, allocations: 86.98 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3917/0.5371, allocations: 136.1 MB / 0.8145 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02481/0.562, allocations: 22.32 MB / 0.8363 GB, free: 236 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.5622, allocations: 3.938 kB / 0.8363 GB, free: 232 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.5625, allocations: 47.67 kB / 0.8364 GB, free: 184 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.5628, allocations: 91.42 kB / 0.8365 GB, free: 92 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01558/0.5784, allocations: 6.681 MB / 0.843 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.5789, allocations: 255.9 kB / 0.8432 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.382e-05/0.5789, allocations: 13.56 kB / 0.8433 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.5793, allocations: 139.5 kB / 0.8434 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.5795, allocations: 91.59 kB / 0.8435 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.5796, allocations: 8 kB / 0.8435 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01951/0.5991, allocations: 10.96 MB / 0.8542 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.15e-05/0.5992, allocations: 35.83 kB / 0.8542 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.5993, allocations: 87.66 kB / 0.8543 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.6118, allocations: 6.148 MB / 0.8603 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6119, allocations: 0 / 0.8603 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6119, allocations: 0 / 0.8603 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.6119, allocations: 0 / 0.8603 GB, free: 7.676 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.002876/0.6148, allocations: 1.198 MB / 0.8615 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.6148, allocations: 11.97 kB / 0.8615 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.6159, allocations: 80.67 kB / 0.8616 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.6162, allocations: 232.1 kB / 0.8618 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.6162, allocations: 16.12 kB / 0.8618 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.6162, allocations: 19.94 kB / 0.8618 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.6173, allocations: 445.8 kB / 0.8623 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.6173, allocations: 0 / 0.8623 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.6174, allocations: 8 kB / 0.8623 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.6174, allocations: 4 kB / 0.8623 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.6185, allocations: 0.6053 MB / 0.8629 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.6196, allocations: 0.8744 MB / 0.8637 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007808/0.6204, allocations: 259.7 kB / 0.864 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.6205, allocations: 72.83 kB / 0.864 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08123/0.7017, allocations: 35.41 MB / 0.8986 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.7018, allocations: 42.55 kB / 0.8986 GB, free: 13.11 MB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/0.7018, allocations: 0 / 0.8986 GB, free: 13.11 MB / 0.67 GB Notification: Performance of matching and sorting (n=25): time 0.001697/0.7035, allocations: 428.6 kB / 0.8991 GB, free: 12.68 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.7036, allocations: 59.34 kB / 0.8991 GB, free: 12.61 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.7037, allocations: 137.8 kB / 0.8992 GB, free: 12.47 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.7038, allocations: 29.7 kB / 0.8993 GB, free: 12.43 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.7038, allocations: 104.4 kB / 0.8994 GB, free: 12.33 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.721e-05/0.7039, allocations: 86.75 kB / 0.8995 GB, free: 12.24 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.704, allocations: 77.58 kB / 0.8995 GB, free: 12.16 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.7042, allocations: 326.8 kB / 0.8998 GB, free: 11.83 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.7043, allocations: 83.94 kB / 0.8999 GB, free: 11.75 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.7046, allocations: 138 kB / 0.9001 GB, free: 11.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.705, allocations: 216.3 kB / 0.9003 GB, free: 11.37 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.705, allocations: 4 kB / 0.9003 GB, free: 11.37 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006793/0.7057, allocations: 297.2 kB / 0.9005 GB, free: 11.07 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.7057, allocations: 4 kB / 0.9006 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.7057, allocations: 0 / 0.9006 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.7057, allocations: 4 kB / 0.9006 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.706, allocations: 79.88 kB / 0.9006 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.7061, allocations: 11.88 kB / 0.9006 GB, free: 10.97 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.7062, allocations: 27.72 kB / 0.9007 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.7063, allocations: 31.91 kB / 0.9007 GB, free: 10.92 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.0001195/0.7064, allocations: 125.8 kB / 0.9008 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.7066, allocations: 15.81 kB / 0.9008 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/0.7088, allocations: 2.342 MB / 0.9031 GB, free: 8.418 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.7089, allocations: 11.98 kB / 0.9031 GB, free: 8.406 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7089, allocations: 0 / 0.9031 GB, free: 8.406 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7089, allocations: 0 / 0.9031 GB, free: 8.406 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/0.712, allocations: 3.435 MB / 0.9065 GB, free: 4.859 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.712, allocations: 0 / 0.9065 GB, free: 4.859 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.7123, allocations: 55.94 kB / 0.9065 GB, free: 4.805 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.7123, allocations: 4 kB / 0.9065 GB, free: 4.801 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.7123, allocations: 7.938 kB / 0.9066 GB, free: 4.793 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.7123, allocations: 7.938 kB / 0.9066 GB, free: 4.785 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7123, allocations: 0 / 0.9066 GB, free: 4.785 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007466/0.7131, allocations: 0.5514 MB / 0.9071 GB, free: 4.219 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.7132, allocations: 136.5 kB / 0.9072 GB, free: 4.066 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.7133, allocations: 11.94 kB / 0.9072 GB, free: 4.055 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.7135, allocations: 11.98 kB / 0.9073 GB, free: 4.043 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.7135, allocations: 19.97 kB / 0.9073 GB, free: 4.023 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.7135, allocations: 12 kB / 0.9073 GB, free: 4.012 MB / 0.67 GB Notification: Performance of sorting global known variables: time 6.933e-05/0.7136, allocations: 109.6 kB / 0.9074 GB, free: 3.906 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7136, allocations: 0 / 0.9074 GB, free: 3.906 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003656/0.7173, allocations: 1.624 MB / 0.909 GB, free: 2.281 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.006992/0.7243, allocations: 1.897 MB / 0.9108 GB, free: 384 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005823/0.7249, allocations: 320.3 kB / 0.9111 GB, free: 64 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.7249, allocations: 0 / 0.9111 GB, free: 64 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.7252, allocations: 248.2 kB / 0.9114 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.7257, allocations: 68.19 kB / 0.9114 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009563/0.7267, allocations: 0.6228 MB / 0.912 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.727, allocations: 0.7661 MB / 0.9128 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004845/0.7275, allocations: 412.8 kB / 0.9132 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.7276, allocations: 47.41 kB / 0.9132 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of SimCode: time 3.1e-07/0.7276, allocations: 0 / 0.9132 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of Templates: time 0.2983/1.026, allocations: 57 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)