Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6463/0.6463, allocations: 94.69 MB / 107.3 MB, free: 5.176 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001004/0.001004, allocations: 172.5 kB / 130.7 MB, free: 7.551 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.489/1.489, allocations: 170.5 MB / 324.5 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001615/0.001615, allocations: 116.1 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.487e-05/5.489e-05, allocations: 4 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4617, allocations: 61.52 MB / 0.5054 GB, free: 49.46 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.6027, allocations: 94.17 MB / 0.5973 GB, free: 1.402 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.603, allocations: 76.66 kB / 0.5974 GB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00279/0.6058, allocations: 0.956 MB / 0.5983 GB, free: 404 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.6059, allocations: 0.625 kB / 0.5984 GB, free: 404 kB / 410.7 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.6059, allocations: 0.6562 kB / 0.5984 GB, free: 404 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000333/0.6062, allocations: 347 kB / 0.5987 GB, free: 20 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.6063, allocations: 8.031 kB / 0.5987 GB, free: 12 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.691e-05/0.6064, allocations: 5.219 kB / 0.5987 GB, free: 8 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.6065, allocations: 164.8 kB / 0.5989 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.6065, allocations: 0 / 0.5989 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.6065, allocations: 5.234 kB / 0.5989 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.6066, allocations: 43.48 kB / 0.5989 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.6067, allocations: 0 / 0.5989 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.6067, allocations: 3.156 kB / 0.5989 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.6067, allocations: 2.734 kB / 0.5989 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.483e-05/0.6067, allocations: 12 kB / 0.5989 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.6071, allocations: 248.8 kB / 0.5992 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.656e-05/0.6072, allocations: 30.53 kB / 0.5992 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.6072, allocations: 14.48 kB / 0.5992 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.6072, allocations: 4.031 kB / 0.5992 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.6073, allocations: 34.97 kB / 0.5992 GB, free: 15.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6073, allocations: 0 / 0.5992 GB, free: 15.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001555/0.6074, allocations: 42.95 kB / 0.5993 GB, free: 15.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.6075, allocations: 55.41 kB / 0.5993 GB, free: 15.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.6076, allocations: 89.94 kB / 0.5994 GB, free: 15.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.6076, allocations: 25.7 kB / 0.5994 GB, free: 15.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.6076, allocations: 89.16 kB / 0.5995 GB, free: 15.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.6077, allocations: 11.83 kB / 0.5995 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.6077, allocations: 1.656 kB / 0.5995 GB, free: 15.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6078, allocations: 314.8 kB / 0.5998 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.6078, allocations: 4 kB / 0.5998 GB, free: 14.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.092e-05/0.6078, allocations: 7.719 kB / 0.5998 GB, free: 14.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.236e-05/0.6079, allocations: 8 kB / 0.5999 GB, free: 14.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6079, allocations: 0 / 0.5999 GB, free: 14.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.261e-05/0.6079, allocations: 53.58 kB / 0.5999 GB, free: 14.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.608, allocations: 4 kB / 0.5999 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.608, allocations: 6.859 kB / 0.5999 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.608, allocations: 0 / 0.5999 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.6081, allocations: 13.61 kB / 0.5999 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.6081, allocations: 7.625 kB / 0.5999 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.6082, allocations: 4 kB / 0.5999 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.6082, allocations: 0.9375 kB / 0.5999 GB, free: 14.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.857e-05/0.6083, allocations: 114.4 kB / 0.6 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.6083, allocations: 3.953 kB / 0.6001 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.6084, allocations: 62.7 kB / 0.6001 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.6085, allocations: 0 / 0.6001 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6085, allocations: 0 / 0.6001 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.6085, allocations: 0 / 0.6001 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.6086, allocations: 158.6 kB / 0.6003 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.6087, allocations: 4 kB / 0.6003 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.6087, allocations: 12.88 kB / 0.6003 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.6087, allocations: 8.047 kB / 0.6003 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.6088, allocations: 7.953 kB / 0.6003 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6088, allocations: 0 / 0.6003 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6088, allocations: 0 / 0.6003 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.6089, allocations: 143.5 kB / 0.6004 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.609, allocations: 77.11 kB / 0.6005 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.609, allocations: 0 / 0.6005 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.6091, allocations: 15.94 kB / 0.6005 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.6091, allocations: 4 kB / 0.6005 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.6091, allocations: 4 kB / 0.6005 GB, free: 13.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.933e-05/0.6092, allocations: 79.28 kB / 0.6006 GB, free: 13.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6092, allocations: 0 / 0.6006 GB, free: 13.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000203/0.6094, allocations: 8 kB / 0.6006 GB, free: 13.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001192/0.6095, allocations: 99.19 kB / 0.6007 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.571e-05/0.6096, allocations: 19.92 kB / 0.6007 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6096, allocations: 64 / 0.6007 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.649e-05/0.6096, allocations: 17.78 kB / 0.6007 GB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.6098, allocations: 3.375 kB / 0.6007 GB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002127/0.61, allocations: 62.95 kB / 0.6008 GB, free: 13.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.6103, allocations: 0.6809 MB / 0.6015 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.041e-05/0.6103, allocations: 0 / 0.6015 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.6104, allocations: 11.44 kB / 0.6015 GB, free: 12.89 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6104, allocations: 3.938 kB / 0.6015 GB, free: 12.89 MB / 426.7 MB Notification: Performance of Templates: time 0.002326/0.6127, allocations: 423.8 kB / 0.6019 GB, free: 12.52 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)