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.001089/0.001089, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.00126/0.00126, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.234/1.234, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002209/0.002209, allocations: 293.9 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8792/0.8792, allocations: 169.3 MB / 0.4988 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 90.98 kB / 0.5959 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1516, allocations: 86.98 MB / 0.6808 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3701/0.5217, allocations: 136.1 MB / 0.8138 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02512/0.5469, allocations: 22.32 MB / 0.8356 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.5472, allocations: 1.125 kB / 0.8356 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.5475, allocations: 46.2 kB / 0.8356 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.5478, allocations: 96.91 kB / 0.8357 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01962/0.5675, allocations: 6.674 MB / 0.8422 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000425/0.5679, allocations: 258.9 kB / 0.8425 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.095e-05/0.568, allocations: 9.344 kB / 0.8425 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.5683, allocations: 138.6 kB / 0.8426 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.5685, allocations: 86.58 kB / 0.8427 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.5685, allocations: 11.62 kB / 0.8427 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01873/0.5872, allocations: 10.68 MB / 0.8531 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.5874, allocations: 39.83 kB / 0.8532 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.5875, allocations: 87.64 kB / 0.8533 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.6012, allocations: 6.168 MB / 0.8593 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6013, allocations: 0 / 0.8593 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6013, allocations: 0 / 0.8593 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.6013, allocations: 0 / 0.8593 GB, free: 5.906 MB / 0.6075 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.0036/0.6049, allocations: 1.194 MB / 0.8604 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.605, allocations: 12.03 kB / 0.8605 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.6062, allocations: 80.67 kB / 0.8605 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.6064, allocations: 224.1 kB / 0.8608 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.6065, allocations: 15.88 kB / 0.8608 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.6065, allocations: 19.94 kB / 0.8608 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.6076, allocations: 459.5 kB / 0.8612 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.6076, allocations: 0 / 0.8612 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.6077, allocations: 12 kB / 0.8612 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.6077, allocations: 4 kB / 0.8612 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.6089, allocations: 0.5931 MB / 0.8618 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.6099, allocations: 0.8843 MB / 0.8627 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007824/0.6107, allocations: 246.4 kB / 0.8629 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.6108, allocations: 68.84 kB / 0.863 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08326/0.6941, allocations: 35.05 MB / 0.8972 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.6942, allocations: 42.56 kB / 0.8972 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.6942, allocations: 0 / 0.8972 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001706/0.6959, allocations: 417.3 kB / 0.8976 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.6959, allocations: 55.39 kB / 0.8977 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.6961, allocations: 144.8 kB / 0.8978 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.6961, allocations: 29.7 kB / 0.8979 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.6962, allocations: 104.4 kB / 0.898 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.568e-05/0.6963, allocations: 82.77 kB / 0.898 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.6964, allocations: 85.56 kB / 0.8981 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.6965, allocations: 326.8 kB / 0.8984 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.6967, allocations: 83.94 kB / 0.8985 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.6969, allocations: 129.1 kB / 0.8986 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.6973, allocations: 220.9 kB / 0.8989 GB, free: 10 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6973, allocations: 0 / 0.8989 GB, free: 10 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000669/0.698, allocations: 297.3 kB / 0.8991 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.698, allocations: 4 kB / 0.8991 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.698, allocations: 160 / 0.8991 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.698, allocations: 8 kB / 0.8991 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.6983, allocations: 83.88 kB / 0.8992 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.6983, allocations: 7.984 kB / 0.8992 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.6985, allocations: 19.75 kB / 0.8993 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/0.6985, allocations: 27.92 kB / 0.8993 GB, free: 9.555 MB / 0.6544 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.000124/0.6987, allocations: 133.7 kB / 0.8994 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.6988, allocations: 19.81 kB / 0.8994 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.7009, allocations: 2.338 MB / 0.9017 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.701, allocations: 7.984 kB / 0.9017 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.701, allocations: 4 kB / 0.9017 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.701, allocations: 0 / 0.9017 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/0.7038, allocations: 3.435 MB / 0.9051 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.7039, allocations: 0 / 0.9051 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.7041, allocations: 59.88 kB / 0.9051 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.7041, allocations: 0 / 0.9051 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.7042, allocations: 12.62 kB / 0.9051 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.7042, allocations: 0 / 0.9051 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7042, allocations: 8 kB / 0.9052 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/0.7049, allocations: 0.5495 MB / 0.9057 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.705, allocations: 136.5 kB / 0.9058 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.7051, allocations: 11.94 kB / 0.9058 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.7053, allocations: 15.67 kB / 0.9058 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.7053, allocations: 23.91 kB / 0.9059 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.7053, allocations: 15.94 kB / 0.9059 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.63e-05/0.7054, allocations: 113.8 kB / 0.906 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7054, allocations: 0 / 0.906 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003691/0.7091, allocations: 1.616 MB / 0.9076 GB, free: 0.9141 MB / 0.6544 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.007419/0.7166, allocations: 1.896 MB / 0.9094 GB, free: 15.01 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007517/0.7173, allocations: 336.2 kB / 0.9097 GB, free: 14.68 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7173, allocations: 0 / 0.9097 GB, free: 14.68 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.7177, allocations: 238.4 kB / 0.91 GB, free: 14.45 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.7182, allocations: 75 kB / 0.91 GB, free: 14.38 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.7192, allocations: 0.6595 MB / 0.9107 GB, free: 13.69 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.7195, allocations: 0.7661 MB / 0.9114 GB, free: 12.89 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.7197, allocations: 55.41 kB / 0.9115 GB, free: 12.84 MB / 0.67 GB Notification: Performance of SimCode: time 1.894e-06/0.7197, allocations: 0 / 0.9115 GB, free: 12.84 MB / 0.67 GB Notification: Performance of Templates: time 0.04158/0.7613, allocations: 31.49 MB / 0.9422 GB, free: 13.33 MB / 0.7012 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)