Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.0008263/0.0008263, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0009131/0.0009131, allocations: 172.7 kB / 15.95 MB, free: 208 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.152/1.152, allocations: 223.3 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6624/0.6624, allocations: 132.4 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002533, allocations: 8 kB / 0.5034 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3248, allocations: 81.58 MB / 0.5831 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001078/0.3259, allocations: 1.003 MB / 0.5841 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007749/0.3267, allocations: 0.6044 MB / 0.5847 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.3267, allocations: 0 / 0.5847 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.3268, allocations: 4.688 kB / 0.5847 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/0.3268, allocations: 9.812 kB / 0.5847 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.3272, allocations: 92.09 kB / 0.5848 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.038e-05/0.3272, allocations: 20.39 kB / 0.5848 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.3273, allocations: 9.891 kB / 0.5848 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.007e-05/0.3273, allocations: 7.562 kB / 0.5848 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.591e-05/0.3274, allocations: 12.12 kB / 0.5848 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.3274, allocations: 1.312 kB / 0.5848 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000264/0.3276, allocations: 149.5 kB / 0.585 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.338e-06/0.3277, allocations: 6.375 kB / 0.585 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.3277, allocations: 28.67 kB / 0.585 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.3278, allocations: 64.72 kB / 0.585 GB, free: 2.922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3278, allocations: 3.938 kB / 0.5851 GB, free: 2.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3278, allocations: 0.9688 kB / 0.5851 GB, free: 2.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.3278, allocations: 3.938 kB / 0.5851 GB, free: 2.914 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003236/0.3282, allocations: 353.1 kB / 0.5854 GB, free: 2.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.3282, allocations: 9.797 kB / 0.5854 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.3286, allocations: 33.45 kB / 0.5854 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.965e-05/0.3286, allocations: 165.5 kB / 0.5856 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3287, allocations: 1.125 kB / 0.5856 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.3287, allocations: 6.781 kB / 0.5856 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3288, allocations: 52.7 kB / 0.5856 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3289, allocations: 5.125 kB / 0.5857 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3289, allocations: 0.7031 kB / 0.5857 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3289, allocations: 0.875 kB / 0.5857 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.329, allocations: 26.42 kB / 0.5857 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.3291, allocations: 169.2 kB / 0.5858 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.3294, allocations: 70.19 kB / 0.5859 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.832e-05/0.3295, allocations: 29.72 kB / 0.5859 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.3295, allocations: 0.75 kB / 0.5859 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.3295, allocations: 32.67 kB / 0.586 GB, free: 1.996 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.3295, allocations: 0 / 0.586 GB, free: 1.996 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.002757/0.3323, allocations: 0.5797 MB / 0.5865 GB, free: 1.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.739e-05/0.3323, allocations: 52.91 kB / 0.5866 GB, free: 1.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.943e-05/0.3324, allocations: 105.8 kB / 0.5867 GB, free: 1.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.3324, allocations: 26.77 kB / 0.5867 GB, free: 1.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.276e-05/0.3324, allocations: 81.08 kB / 0.5868 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.3324, allocations: 23.81 kB / 0.5868 GB, free: 1.348 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-06/0.3324, allocations: 0 / 0.5868 GB, free: 1.348 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.383e-05/0.3325, allocations: 314 kB / 0.5871 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.3326, allocations: 37.94 kB / 0.5871 GB, free: 1.023 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3327, allocations: 43.62 kB / 0.5872 GB, free: 1.008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.3328, allocations: 36.53 kB / 0.5872 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3328, allocations: 0 / 0.5872 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002791/0.3331, allocations: 125.2 kB / 0.5873 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3332, allocations: 4.656 kB / 0.5873 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3332, allocations: 0.625 kB / 0.5873 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3332, allocations: 0.7188 kB / 0.5874 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.3334, allocations: 26.97 kB / 0.5874 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3334, allocations: 0.7812 kB / 0.5874 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.3335, allocations: 6.25 kB / 0.5874 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.3335, allocations: 8.734 kB / 0.5874 GB, free: 0.9258 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 (7): * Single equations (assignments): 7 * 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 5.299e-05/0.3336, allocations: 118 kB / 0.5875 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.3336, allocations: 6.75 kB / 0.5875 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.499e-05/0.3337, allocations: 9.781 kB / 0.5875 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3337, allocations: 1.781 kB / 0.5875 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3337, allocations: 4 kB / 0.5875 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3337, allocations: 0.7031 kB / 0.5875 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.968e-05/0.3338, allocations: 186.5 kB / 0.5877 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3338, allocations: 0 / 0.5877 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.334, allocations: 26.81 kB / 0.5877 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.334, allocations: 1.531 kB / 0.5877 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.334, allocations: 3.781 kB / 0.5877 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.334, allocations: 0 / 0.5877 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.334, allocations: 1.094 kB / 0.5877 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.3345, allocations: 194.8 kB / 0.5879 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.3345, allocations: 83.44 kB / 0.588 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.3345, allocations: 1.422 kB / 0.588 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.3347, allocations: 18.2 kB / 0.588 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.3347, allocations: 3.359 kB / 0.588 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.3347, allocations: 4.859 kB / 0.588 GB, free: 364 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.575e-05/0.3347, allocations: 77.5 kB / 0.5881 GB, free: 288 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3347, allocations: 0 / 0.5881 GB, free: 288 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.335, allocations: 28.44 kB / 0.5881 GB, free: 284 kB / 430.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 (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.0001525/0.3351, allocations: 132.8 kB / 0.5883 GB, free: 176 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.3354, allocations: 95.72 kB / 0.5883 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3355, allocations: 0.5625 kB / 0.5883 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.3356, allocations: 46.36 kB / 0.5884 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.3358, allocations: 13.08 kB / 0.5884 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.3363, allocations: 175.5 kB / 0.5886 GB, free: 16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.3365, allocations: 0.6818 MB / 0.5892 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000214/0.3367, allocations: 29.91 kB / 0.5893 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.3368, allocations: 21.28 kB / 0.5893 GB, free: 15.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3368, allocations: 0 / 0.5893 GB, free: 15.27 MB / 446.1 MB Notification: Performance of Templates: time 0.003987/0.3408, allocations: 1.425 MB / 0.5907 GB, free: 15.19 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)