Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.00183/0.001829, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.386/1.386, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.824/0.824, allocations: 135.2 MB / 425.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 59.91 kB / 0.5056 GB, free: 8.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3324, allocations: 80.93 MB / 0.5846 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00194/0.3343, allocations: 1.342 MB / 0.5859 GB, free: 24.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008/0.3352, allocations: 0.6341 MB / 0.5865 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.416e-05/0.3352, allocations: 0.5312 kB / 0.5865 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/0.3352, allocations: 0 / 0.5865 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.916e-05/0.3353, allocations: 5.672 kB / 0.5865 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.3356, allocations: 97.72 kB / 0.5866 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.74e-05/0.3357, allocations: 19.22 kB / 0.5866 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.3357, allocations: 10.58 kB / 0.5866 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.048e-05/0.3358, allocations: 17.67 kB / 0.5867 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.3358, allocations: 13.14 kB / 0.5867 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.3358, allocations: 1.781 kB / 0.5867 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.3361, allocations: 147.4 kB / 0.5868 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.3361, allocations: 5.281 kB / 0.5868 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.3361, allocations: 13.17 kB / 0.5868 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.3362, allocations: 64.36 kB / 0.5869 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3362, allocations: 1.375 kB / 0.5869 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3362, allocations: 0 / 0.5869 GB, free: 23.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3363, allocations: 0.6562 kB / 0.5869 GB, free: 23.7 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003851/0.3367, allocations: 359.2 kB / 0.5872 GB, free: 23.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3367, allocations: 10.67 kB / 0.5872 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004248/0.3371, allocations: 34.25 kB / 0.5873 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.443e-05/0.3372, allocations: 165.6 kB / 0.5874 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3372, allocations: 2.344 kB / 0.5874 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.3372, allocations: 6.703 kB / 0.5874 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.3374, allocations: 54.16 kB / 0.5875 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.3374, allocations: 3.344 kB / 0.5875 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3374, allocations: 3.938 kB / 0.5875 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3375, allocations: 0 / 0.5875 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.3376, allocations: 31.12 kB / 0.5875 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.3377, allocations: 157.1 kB / 0.5877 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.338, allocations: 78.97 kB / 0.5878 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.3381, allocations: 24.44 kB / 0.5878 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.3381, allocations: 1.125 kB / 0.5878 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.3382, allocations: 36.73 kB / 0.5878 GB, free: 22.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3382, allocations: 0 / 0.5878 GB, free: 22.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003444/0.3416, allocations: 0.5729 MB / 0.5884 GB, free: 22.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.3417, allocations: 57.22 kB / 0.5884 GB, free: 22.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.977e-05/0.3417, allocations: 98.33 kB / 0.5885 GB, free: 22.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3417, allocations: 25.7 kB / 0.5886 GB, free: 22.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.401e-05/0.3417, allocations: 82.86 kB / 0.5886 GB, free: 22.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.3418, allocations: 26.17 kB / 0.5887 GB, free: 21.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.3418, allocations: 24.42 kB / 0.5887 GB, free: 21.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.773e-05/0.3419, allocations: 320 kB / 0.589 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.342, allocations: 38.38 kB / 0.589 GB, free: 21.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.3421, allocations: 35.06 kB / 0.5891 GB, free: 21.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.3424, allocations: 79.25 kB / 0.5891 GB, free: 21.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3424, allocations: 0 / 0.5891 GB, free: 21.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003173/0.3427, allocations: 131.5 kB / 0.5893 GB, free: 21.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3428, allocations: 10.84 kB / 0.5893 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3428, allocations: 1.375 kB / 0.5893 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3428, allocations: 1.344 kB / 0.5893 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.343, allocations: 24.41 kB / 0.5893 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.343, allocations: 9.156 kB / 0.5893 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.3432, allocations: 11.83 kB / 0.5893 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.3432, allocations: 2.719 kB / 0.5893 GB, free: 21.46 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 (7): * Single equations (assignments): 7 * 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.706e-05/0.3433, allocations: 111.6 kB / 0.5894 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.3433, allocations: 11.2 kB / 0.5894 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.3434, allocations: 11.19 kB / 0.5894 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3434, allocations: 2.5 kB / 0.5894 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3434, allocations: 0 / 0.5894 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3434, allocations: 1.156 kB / 0.5894 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.3435, allocations: 186.8 kB / 0.5896 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3435, allocations: 0 / 0.5896 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.3437, allocations: 23.81 kB / 0.5896 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3438, allocations: 9.375 kB / 0.5897 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.3438, allocations: 5.547 kB / 0.5897 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3438, allocations: 0.8125 kB / 0.5897 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3438, allocations: 0 / 0.5897 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.3443, allocations: 186.8 kB / 0.5898 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.3443, allocations: 86.27 kB / 0.5899 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.3443, allocations: 1.219 kB / 0.5899 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.3445, allocations: 16.02 kB / 0.5899 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.3446, allocations: 2.5 kB / 0.5899 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3446, allocations: 8.672 kB / 0.5899 GB, free: 20.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.729e-05/0.3446, allocations: 76.78 kB / 0.59 GB, free: 20.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3446, allocations: 0 / 0.59 GB, free: 20.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.3449, allocations: 43.7 kB / 0.5901 GB, free: 20.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001725/0.345, allocations: 129.8 kB / 0.5902 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.3454, allocations: 87.67 kB / 0.5903 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3454, allocations: 2.312 kB / 0.5903 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.3455, allocations: 51.89 kB / 0.5903 GB, free: 20.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.3458, allocations: 8.125 kB / 0.5903 GB, free: 20.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.3464, allocations: 190.1 kB / 0.5905 GB, free: 20.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.033e-05/0.3465, allocations: 0.6777 MB / 0.5912 GB, free: 19.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.316e-05/0.3466, allocations: 27.41 kB / 0.5912 GB, free: 19.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3466, allocations: 1.312 kB / 0.5912 GB, free: 19.57 MB / 446.1 MB Notification: Performance of Templates: time 0.00288/0.3494, allocations: 1.574 MB / 0.5927 GB, free: 18.03 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)