Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001337/0.001337, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8466/0.8466, allocations: 135.2 MB / 426.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 71.88 kB / 0.5061 GB, free: 8.324 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3294, allocations: 80.93 MB / 0.5851 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002072/0.3315, allocations: 1.246 MB / 0.5863 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003985/0.3319, allocations: 232.8 kB / 0.5865 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.712e-05/0.3319, allocations: 0 / 0.5865 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.332, allocations: 1.125 kB / 0.5865 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.376e-05/0.332, allocations: 0.9375 kB / 0.5865 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.3323, allocations: 49.16 kB / 0.5866 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.604e-05/0.3323, allocations: 16.86 kB / 0.5866 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.3324, allocations: 6.359 kB / 0.5866 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.029e-05/0.3324, allocations: 4.812 kB / 0.5866 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.055e-05/0.3325, allocations: 16.27 kB / 0.5866 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.3325, allocations: 1.844 kB / 0.5866 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.821e-05/0.3326, allocations: 39.47 kB / 0.5867 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.3326, allocations: 9.672 kB / 0.5867 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.3326, allocations: 8.641 kB / 0.5867 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.3327, allocations: 40.81 kB / 0.5867 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3328, allocations: 1.75 kB / 0.5867 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3328, allocations: 0 / 0.5867 GB, free: 24.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.3328, allocations: 0.7812 kB / 0.5867 GB, free: 24.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002972/0.3331, allocations: 335.3 kB / 0.587 GB, free: 23.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3331, allocations: 11.42 kB / 0.587 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.3333, allocations: 16.81 kB / 0.5871 GB, free: 23.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.503e-05/0.3333, allocations: 172.3 kB / 0.5872 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3333, allocations: 6.156 kB / 0.5872 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.3334, allocations: 2.438 kB / 0.5872 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.3335, allocations: 47.78 kB / 0.5873 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.3335, allocations: 1.531 kB / 0.5873 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3335, allocations: 3.938 kB / 0.5873 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3335, allocations: 1.25 kB / 0.5873 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.253e-05/0.3336, allocations: 12.91 kB / 0.5873 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.3337, allocations: 158.2 kB / 0.5874 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.892e-05/0.3338, allocations: 48.59 kB / 0.5875 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.3338, allocations: 21.78 kB / 0.5875 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.3338, allocations: 1.219 kB / 0.5875 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.3338, allocations: 40.38 kB / 0.5876 GB, free: 23.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3338, allocations: 1.25 kB / 0.5876 GB, free: 23.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001882/0.3357, allocations: 0.4892 MB / 0.588 GB, free: 22.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.3358, allocations: 55.41 kB / 0.5881 GB, free: 22.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.753e-05/0.3358, allocations: 95.69 kB / 0.5882 GB, free: 22.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.3358, allocations: 27.33 kB / 0.5882 GB, free: 22.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.446e-05/0.3358, allocations: 81.08 kB / 0.5883 GB, free: 22.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.3359, allocations: 30.22 kB / 0.5883 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.3359, allocations: 23.3 kB / 0.5883 GB, free: 22.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.599e-05/0.3359, allocations: 317.4 kB / 0.5886 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.336, allocations: 24.02 kB / 0.5887 GB, free: 22.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.336, allocations: 21 kB / 0.5887 GB, free: 22.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.127e-05/0.3361, allocations: 59.3 kB / 0.5887 GB, free: 22.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3361, allocations: 5.109 kB / 0.5887 GB, free: 22.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001267/0.3363, allocations: 92.03 kB / 0.5888 GB, free: 22.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3363, allocations: 9.156 kB / 0.5888 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3363, allocations: 1.031 kB / 0.5888 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3363, allocations: 1.406 kB / 0.5888 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3365, allocations: 12.78 kB / 0.5888 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3365, allocations: 0 / 0.5888 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.389e-05/0.3365, allocations: 3.688 kB / 0.5889 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3365, allocations: 5.562 kB / 0.5889 GB, free: 22.01 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 (9): * Single equations (assignments): 9 * 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.098e-05/0.3366, allocations: 116.7 kB / 0.589 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.3366, allocations: 5.25 kB / 0.589 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.3367, allocations: 14.91 kB / 0.589 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3367, allocations: 1.281 kB / 0.589 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3367, allocations: 1.125 kB / 0.589 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3367, allocations: 0 / 0.589 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.123e-05/0.3368, allocations: 176.8 kB / 0.5892 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3368, allocations: 0 / 0.5892 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.3369, allocations: 12.56 kB / 0.5892 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3369, allocations: 5.188 kB / 0.5892 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3369, allocations: 0.625 kB / 0.5892 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3369, allocations: 9.359 kB / 0.5892 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.337, allocations: 4.844 kB / 0.5892 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.3372, allocations: 146.8 kB / 0.5893 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.3372, allocations: 86.67 kB / 0.5894 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3372, allocations: 3.438 kB / 0.5894 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3373, allocations: 3.688 kB / 0.5894 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.3373, allocations: 6.672 kB / 0.5894 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.3374, allocations: 1.375 kB / 0.5894 GB, free: 21.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.007e-05/0.3374, allocations: 75.97 kB / 0.5895 GB, free: 21.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3374, allocations: 3.438 kB / 0.5895 GB, free: 21.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001887/0.3376, allocations: 14.62 kB / 0.5895 GB, free: 21.36 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 (8): * Single equations (assignments): 8 * 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 8.47e-05/0.3377, allocations: 103.5 kB / 0.5896 GB, free: 21.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.3378, allocations: 73.33 kB / 0.5897 GB, free: 21.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3378, allocations: 1.125 kB / 0.5897 GB, free: 21.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.632e-05/0.3379, allocations: 34.59 kB / 0.5897 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.3381, allocations: 10.06 kB / 0.5897 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.3386, allocations: 203.8 kB / 0.5899 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.123e-05/0.3387, allocations: 0.6796 MB / 0.5906 GB, free: 20.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.3387, allocations: 13 kB / 0.5906 GB, free: 20.31 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3387, allocations: 0 / 0.5906 GB, free: 20.31 MB / 446.1 MB Notification: Performance of Templates: time 0.002034/0.3408, allocations: 0.884 MB / 0.5915 GB, free: 19.62 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)