Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001071/0.001071, allocations: 116.4 kB / 16.37 MB, free: 6.43 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.001136/0.001136, allocations: 196.3 kB / 17.31 MB, free: 5.777 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7937/0.7937, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 0.5068 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3548, allocations: 80.91 MB / 0.5858 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002086/0.357, allocations: 1.278 MB / 0.587 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007541/0.3577, allocations: 0.5827 MB / 0.5876 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.3578, allocations: 1.625 kB / 0.5876 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.3578, allocations: 4.906 kB / 0.5876 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.3578, allocations: 9.078 kB / 0.5876 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.3582, allocations: 96.72 kB / 0.5877 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.276e-05/0.3582, allocations: 16.69 kB / 0.5877 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.3583, allocations: 2.312 kB / 0.5877 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.949e-05/0.3583, allocations: 8.047 kB / 0.5877 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.3584, allocations: 8.438 kB / 0.5877 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.3584, allocations: 1.125 kB / 0.5877 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.3586, allocations: 144.1 kB / 0.5879 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.3587, allocations: 0 / 0.5879 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.3587, allocations: 12.34 kB / 0.5879 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.3589, allocations: 87.97 kB / 0.588 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3589, allocations: 2.062 kB / 0.588 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3589, allocations: 0 / 0.588 GB, free: 23.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.3589, allocations: 0 / 0.588 GB, free: 23.96 MB / 446.1 MB 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.00029/0.3592, allocations: 354.9 kB / 0.5883 GB, free: 23.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3592, allocations: 10.55 kB / 0.5883 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004136/0.3597, allocations: 26.59 kB / 0.5883 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.093e-05/0.3597, allocations: 169.4 kB / 0.5885 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3598, allocations: 1.562 kB / 0.5885 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.3598, allocations: 1.625 kB / 0.5885 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.3599, allocations: 51.22 kB / 0.5886 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.3599, allocations: 192 / 0.5886 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3599, allocations: 5.844 kB / 0.5886 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.36, allocations: 0 / 0.5886 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.3601, allocations: 27.09 kB / 0.5886 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.3602, allocations: 153.9 kB / 0.5887 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3603, allocations: 44.94 kB / 0.5888 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.244e-05/0.3604, allocations: 16.34 kB / 0.5888 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.3604, allocations: 1.938 kB / 0.5888 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.3605, allocations: 32.84 kB / 0.5888 GB, free: 23.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3605, allocations: 0 / 0.5888 GB, free: 23.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002735/0.3607, allocations: 79.34 kB / 0.5889 GB, free: 22.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.3608, allocations: 56.53 kB / 0.589 GB, free: 22.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.472e-05/0.3608, allocations: 96.53 kB / 0.589 GB, free: 22.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.3608, allocations: 29.02 kB / 0.5891 GB, free: 22.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.373e-05/0.3609, allocations: 80.14 kB / 0.5891 GB, free: 22.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.3609, allocations: 4.969 kB / 0.5892 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.3609, allocations: 20.3 kB / 0.5892 GB, free: 22.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.955e-05/0.361, allocations: 316.8 kB / 0.5895 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-05/0.361, allocations: 16.14 kB / 0.5895 GB, free: 22.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.031e-05/0.3611, allocations: 10.2 kB / 0.5895 GB, free: 22.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.3612, allocations: 34.41 kB / 0.5895 GB, free: 22.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3612, allocations: 0 / 0.5895 GB, free: 22.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001486/0.3614, allocations: 62.86 kB / 0.5896 GB, free: 22.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3614, allocations: 7.781 kB / 0.5896 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3614, allocations: 6.312 kB / 0.5896 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3614, allocations: 0 / 0.5896 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3615, allocations: 9.391 kB / 0.5896 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.3616, allocations: 0 / 0.5896 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.938e-05/0.3616, allocations: 2.25 kB / 0.5896 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.3616, allocations: 9.797 kB / 0.5896 GB, free: 22.25 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/0.3617, allocations: 112.4 kB / 0.5897 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.3617, allocations: 5.25 kB / 0.5897 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.3617, allocations: 10.56 kB / 0.5897 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3617, allocations: 1.281 kB / 0.5897 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3618, allocations: 0 / 0.5897 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.3618, allocations: 0 / 0.5897 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.139e-05/0.3618, allocations: 154.4 kB / 0.5899 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3618, allocations: 1.281 kB / 0.5899 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.721e-05/0.3619, allocations: 11.02 kB / 0.5899 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.3619, allocations: 0 / 0.5899 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.3619, allocations: 7.922 kB / 0.5899 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3619, allocations: 1.469 kB / 0.5899 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3619, allocations: 0 / 0.5899 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.3621, allocations: 87.39 kB / 0.59 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.3622, allocations: 86.3 kB / 0.5901 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.3622, allocations: 6.781 kB / 0.5901 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.018e-05/0.3623, allocations: 1.312 kB / 0.5901 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.077e-05/0.3623, allocations: 1.375 kB / 0.5901 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.3623, allocations: 5.203 kB / 0.5901 GB, free: 21.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.833e-05/0.3623, allocations: 82.28 kB / 0.5902 GB, free: 21.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3623, allocations: 0.9375 kB / 0.5902 GB, free: 21.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000198/0.3625, allocations: 11.69 kB / 0.5902 GB, free: 21.64 MB / 446.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 (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.0001296/0.3626, allocations: 116 kB / 0.5903 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.3628, allocations: 31.31 kB / 0.5903 GB, free: 21.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3628, allocations: 0 / 0.5903 GB, free: 21.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.878e-05/0.3629, allocations: 20.14 kB / 0.5903 GB, free: 21.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.3631, allocations: 7.594 kB / 0.5904 GB, free: 21.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.3634, allocations: 113.3 kB / 0.5905 GB, free: 21.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.988e-05/0.3635, allocations: 0.6821 MB / 0.5911 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.846e-05/0.3635, allocations: 7.594 kB / 0.5911 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.3636, allocations: 8.938 kB / 0.5911 GB, free: 20.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3636, allocations: 0.6875 kB / 0.5911 GB, free: 20.7 MB / 446.1 MB Notification: Performance of Templates: time 0.002498/0.3661, allocations: 0.7321 MB / 0.5919 GB, free: 20.02 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)