Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.001275/0.001275, allocations: 192.5 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.857/1.857, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2669, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003497/0.2704, allocations: 1.406 MB / 0.7861 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005764/0.271, allocations: 212.3 kB / 0.7864 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.2711, allocations: 4 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.2711, allocations: 0 / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.922e-05/0.2712, allocations: 7.922 kB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.2715, allocations: 15.92 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.747e-05/0.2716, allocations: 31.84 kB / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.2717, allocations: 12 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.32e-05/0.2717, allocations: 3.984 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.835e-05/0.2718, allocations: 11.94 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2718, allocations: 4 kB / 0.7864 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.88e-05/0.2719, allocations: 31.97 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.2719, allocations: 4 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.2719, allocations: 7.938 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.2721, allocations: 39.83 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2721, allocations: 0 / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2721, allocations: 0 / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.2721, allocations: 0 / 0.7865 GB, free: 1.355 MB / 0.6544 GB 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.0004272/0.2725, allocations: 343.5 kB / 0.7868 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2726, allocations: 8.031 kB / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.2727, allocations: 8.922 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2728, allocations: 164.3 kB / 0.787 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2728, allocations: 8.312 kB / 0.787 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.2729, allocations: 384 / 0.787 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.273, allocations: 50.23 kB / 0.7871 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.273, allocations: 4.188 kB / 0.7871 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.273, allocations: 7.875 kB / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-06/0.2731, allocations: 0 / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.2732, allocations: 35.95 kB / 0.7871 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.2735, allocations: 241 kB / 0.7873 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.2737, allocations: 46.48 kB / 0.7874 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.203e-05/0.2737, allocations: 20.91 kB / 0.7874 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.2738, allocations: 4 kB / 0.7874 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.2738, allocations: 38.5 kB / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2738, allocations: 0 / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003299/0.2741, allocations: 89.64 kB / 0.7875 GB, free: 140 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.2742, allocations: 51.41 kB / 0.7876 GB, free: 76 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5257/0.7999, allocations: 99.42 kB / 0.7877 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.7999, allocations: 25.7 kB / 0.7877 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.8, allocations: 85.17 kB / 0.7878 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.8, allocations: 2.812 kB / 0.7878 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.8001, allocations: 15.92 kB / 0.7878 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.528e-05/0.8001, allocations: 315.3 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.8003, allocations: 18.67 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-05/0.8004, allocations: 14.41 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.8005, allocations: 43.81 kB / 0.7882 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.8005, allocations: 0 / 0.7882 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002125/0.8008, allocations: 69.66 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.8008, allocations: 5.25 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.8008, allocations: 0 / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.8008, allocations: 1 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.8009, allocations: 15.02 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.8009, allocations: 2.281 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.588e-05/0.801, allocations: 6.906 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.801, allocations: 2.719 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.517e-05/0.8011, allocations: 110.5 kB / 0.7884 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.8011, allocations: 3.156 kB / 0.7884 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.8014, allocations: 80.22 kB / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.8014, allocations: 8.438 kB / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8014, allocations: 0 / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.8014, allocations: 0 / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.8015, allocations: 161.9 kB / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8015, allocations: 3.156 kB / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-05/0.8016, allocations: 10.27 kB / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.8016, allocations: 0.75 kB / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.8016, allocations: 0 / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.8016, allocations: 3.938 kB / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8016, allocations: 2.656 kB / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.8018, allocations: 166.5 kB / 0.7888 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.8019, allocations: 79.8 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.8019, allocations: 0 / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/0.802, allocations: 11.59 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.802, allocations: 9.594 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.802, allocations: 2.188 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.288e-05/0.8021, allocations: 82.67 kB / 0.789 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.61e-07/0.8021, allocations: 0.5 kB / 0.789 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002192/0.8023, allocations: 6.781 kB / 0.789 GB, free: 47.86 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: 0 () * Number of discrete states: 0 () * Number of clocked 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 (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.0001011/0.8024, allocations: 99 kB / 0.7891 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.8027, allocations: 42.88 kB / 0.7891 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8027, allocations: 2.938 kB / 0.7891 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.474e-05/0.8028, allocations: 21.41 kB / 0.7891 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.803, allocations: 3.812 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.8033, allocations: 147.2 kB / 0.7893 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.8035, allocations: 0.6797 MB / 0.79 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.8035, allocations: 10.38 kB / 0.79 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of SimCode: time 1.373e-06/0.8035, allocations: 0 / 0.79 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.001793/0.8053, allocations: 0.5806 MB / 0.7905 GB, free: 46.95 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)