Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008409/0.0008409, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009168/0.0009168, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6535/0.6535, allocations: 132.4 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000258/0.000258, allocations: 8 kB / 0.5034 GB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3258, allocations: 81.58 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001141/0.327, allocations: 1.123 MB / 0.5842 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.3277, allocations: 0.56 MB / 0.5847 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.3277, allocations: 0.9688 kB / 0.5847 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.3278, allocations: 1.344 kB / 0.5847 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.627e-05/0.3278, allocations: 9.422 kB / 0.5847 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.3281, allocations: 85.52 kB / 0.5848 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.877e-05/0.3282, allocations: 19.83 kB / 0.5848 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.715e-05/0.3282, allocations: 3.75 kB / 0.5848 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.371e-05/0.3283, allocations: 9.828 kB / 0.5848 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.984e-05/0.3283, allocations: 10.45 kB / 0.5848 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.3283, allocations: 6.969 kB / 0.5849 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.3286, allocations: 148.1 kB / 0.585 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-06/0.3286, allocations: 2.203 kB / 0.585 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.3286, allocations: 31.08 kB / 0.585 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.3288, allocations: 69 kB / 0.5851 GB, free: 2.652 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3288, allocations: 1.188 kB / 0.5851 GB, free: 2.652 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3288, allocations: 0 / 0.5851 GB, free: 2.652 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.3288, allocations: 0.7812 kB / 0.5851 GB, free: 2.652 MB / 430.1 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.0003327/0.3291, allocations: 366.2 kB / 0.5854 GB, free: 2.277 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.3292, allocations: 9.375 kB / 0.5855 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/0.3295, allocations: 29.95 kB / 0.5855 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.803e-05/0.3296, allocations: 161.8 kB / 0.5856 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3296, allocations: 5.547 kB / 0.5856 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.3296, allocations: 1.656 kB / 0.5856 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.3298, allocations: 74.34 kB / 0.5857 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.3298, allocations: 3.938 kB / 0.5857 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3299, allocations: 5.75 kB / 0.5857 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.3299, allocations: 0 / 0.5857 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.3301, allocations: 68.81 kB / 0.5858 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.3304, allocations: 279.5 kB / 0.5861 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.3306, allocations: 64.77 kB / 0.5861 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3307, allocations: 43.91 kB / 0.5862 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3308, allocations: 4.641 kB / 0.5862 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.3308, allocations: 32.72 kB / 0.5862 GB, free: 1.621 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.3308, allocations: 0 / 0.5862 GB, free: 1.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004357/0.3312, allocations: 129.5 kB / 0.5863 GB, free: 1.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.3313, allocations: 52.16 kB / 0.5864 GB, free: 1.508 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.964e-05/0.3313, allocations: 101.9 kB / 0.5865 GB, free: 1.406 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.3313, allocations: 33.77 kB / 0.5865 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.262e-05/0.3314, allocations: 82.31 kB / 0.5866 GB, free: 1.285 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.3314, allocations: 9.422 kB / 0.5866 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.3314, allocations: 4 kB / 0.5866 GB, free: 1.273 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.736e-05/0.3314, allocations: 312.6 kB / 0.5869 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.3316, allocations: 30.62 kB / 0.5869 GB, free: 0.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3317, allocations: 34.83 kB / 0.5869 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.3318, allocations: 30.27 kB / 0.587 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3318, allocations: 4.062 kB / 0.587 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002566/0.3321, allocations: 93.23 kB / 0.5871 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3321, allocations: 5.281 kB / 0.5871 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3321, allocations: 4.031 kB / 0.5871 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.3321, allocations: 2.016 kB / 0.5871 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3322, allocations: 19.17 kB / 0.5871 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3322, allocations: 1.094 kB / 0.5871 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.3323, allocations: 14.31 kB / 0.5871 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.3323, allocations: 2.172 kB / 0.5871 GB, free: 0.8906 MB / 430.1 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.3324, allocations: 117.6 kB / 0.5872 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.3324, allocations: 1.641 kB / 0.5872 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.3324, allocations: 4.641 kB / 0.5872 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3325, allocations: 0.8125 kB / 0.5872 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3325, allocations: 5.109 kB / 0.5872 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3325, allocations: 0 / 0.5872 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.3326, allocations: 165.2 kB / 0.5874 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3326, allocations: 0 / 0.5874 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.3327, allocations: 19.66 kB / 0.5874 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3327, allocations: 1.875 kB / 0.5874 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3327, allocations: 1.125 kB / 0.5874 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3327, allocations: 0.75 kB / 0.5874 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3327, allocations: 11.86 kB / 0.5874 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.333, allocations: 200.7 kB / 0.5876 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.333, allocations: 83.92 kB / 0.5877 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.3331, allocations: 0.7031 kB / 0.5877 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3332, allocations: 14.83 kB / 0.5877 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.3332, allocations: 6.391 kB / 0.5877 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.3332, allocations: 2.172 kB / 0.5877 GB, free: 300 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.215e-05/0.3332, allocations: 88.75 kB / 0.5878 GB, free: 216 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3333, allocations: 0 / 0.5878 GB, free: 216 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.3335, allocations: 15.25 kB / 0.5878 GB, free: 212 kB / 430.1 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 () * 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 (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.0001235/0.3336, allocations: 104 kB / 0.5879 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002729/0.3339, allocations: 68.06 kB / 0.588 GB, free: 112 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.3339, allocations: 1.156 kB / 0.588 GB, free: 112 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.334, allocations: 38.33 kB / 0.588 GB, free: 104 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.3342, allocations: 5.547 kB / 0.588 GB, free: 100 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.3346, allocations: 137.2 kB / 0.5882 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.3348, allocations: 0.68 MB / 0.5888 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.177e-05/0.3349, allocations: 8.047 kB / 0.5888 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.3349, allocations: 10.56 kB / 0.5888 GB, free: 15.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3349, allocations: 0 / 0.5888 GB, free: 15.27 MB / 446.1 MB Notification: Performance of Templates: time 0.002561/0.3375, allocations: 0.6946 MB / 0.5895 GB, free: 15.19 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)