Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 187.5 kB / 16.62 MB, free: 6.613 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.333/1.333, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.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.75/1.75, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.002564/0.002564, allocations: 70.3 kB / 0.6723 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2597, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00245/0.2622, allocations: 1.271 MB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009276/0.2632, allocations: 0.578 MB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.2632, allocations: 3.938 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.2632, allocations: 0 / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.009e-05/0.2633, allocations: 7.922 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.2637, allocations: 99.5 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.569e-05/0.2638, allocations: 11.94 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.2638, allocations: 8 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.521e-05/0.2639, allocations: 7.938 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.316e-05/0.2639, allocations: 19.91 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.2639, allocations: 0 / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.2642, allocations: 135.8 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.899e-06/0.2642, allocations: 0 / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.2643, allocations: 12 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.2645, allocations: 87.77 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2645, allocations: 0 / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2645, allocations: 0 / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.2645, allocations: 4 kB / 0.7863 GB, free: 10.49 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003917/0.2649, allocations: 347.4 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2649, allocations: 8.031 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004162/0.2654, allocations: 28.89 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.2655, allocations: 168.3 kB / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2655, allocations: 384 / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.2655, allocations: 384 / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.2657, allocations: 54.22 kB / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2657, allocations: 4.125 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2657, allocations: 3.938 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2657, allocations: 0 / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.2659, allocations: 23.97 kB / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.266, allocations: 157.7 kB / 0.7871 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.2662, allocations: 50.53 kB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.836e-05/0.2662, allocations: 12.91 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.2663, allocations: 4 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2663, allocations: 34.56 kB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.2663, allocations: 4 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002938/0.2666, allocations: 73.59 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.2667, allocations: 51.41 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.069e-05/0.2667, allocations: 97.84 kB / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.2667, allocations: 25.7 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.2668, allocations: 88.2 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.2668, allocations: 11.84 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.2669, allocations: 17.7 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.267, allocations: 310.8 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.267, allocations: 19.92 kB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.299e-05/0.2671, allocations: 7.984 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.2672, allocations: 36.91 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2672, allocations: 0 / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001601/0.2674, allocations: 53.67 kB / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2674, allocations: 8 kB / 0.7879 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2674, allocations: 3.938 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2674, allocations: 0 / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.2676, allocations: 15.95 kB / 0.788 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.2676, allocations: 3.984 kB / 0.788 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.2676, allocations: 4 kB / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2677, allocations: 3.984 kB / 0.788 GB, free: 8.562 MB / 0.6075 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 7.496e-05/0.2677, allocations: 110.5 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.2678, allocations: 7.906 kB / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.2678, allocations: 11.06 kB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2678, allocations: 0 / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2678, allocations: 0 / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2678, allocations: 3.938 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.2679, allocations: 153.7 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2679, allocations: 0 / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.538e-05/0.268, allocations: 11.98 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.268, allocations: 0 / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.2681, allocations: 3.938 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2681, allocations: 3.984 kB / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2681, allocations: 0 / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.2683, allocations: 93.23 kB / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.2683, allocations: 85.08 kB / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.2684, allocations: 3.938 kB / 0.7884 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.584e-05/0.2684, allocations: 4 kB / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.2684, allocations: 4.031 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.2685, allocations: 4 kB / 0.7884 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.432e-05/0.2685, allocations: 87.27 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2685, allocations: 0 / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002032/0.2687, allocations: 12 kB / 0.7885 GB, free: 7.875 MB / 0.6075 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 (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 Backend phase and start with SimCode phase: time 0.0001924/0.2689, allocations: 111.2 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.2691, allocations: 31.97 kB / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2691, allocations: 0 / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.494e-05/0.2692, allocations: 19.92 kB / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.2694, allocations: 10.38 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.2698, allocations: 130.6 kB / 0.7888 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.27, allocations: 0.669 MB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.533e-05/0.2701, allocations: 11.98 kB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.2701, allocations: 11.44 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2701, allocations: 0 / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of Templates: time 0.002721/0.2729, allocations: 0.7332 MB / 0.7902 GB, free: 6.098 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)