Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001552/0.001552, allocations: 113.2 kB / 16.37 MB, free: 6 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.001745/0.001745, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8055/0.8055, allocations: 132.2 MB / 423.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 71.88 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3666, allocations: 80.17 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002643/0.3693, allocations: 1.262 MB / 0.5827 GB, free: 26.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004891/0.3698, allocations: 236.2 kB / 0.583 GB, free: 26.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.3699, allocations: 0.625 kB / 0.583 GB, free: 26.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.3699, allocations: 1.656 kB / 0.583 GB, free: 26.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.722e-05/0.37, allocations: 1.188 kB / 0.583 GB, free: 26.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.3703, allocations: 48.59 kB / 0.583 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.32e-05/0.3703, allocations: 13.31 kB / 0.583 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.3704, allocations: 6.797 kB / 0.583 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.75e-05/0.3704, allocations: 16.08 kB / 0.583 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.3705, allocations: 7.609 kB / 0.5831 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.3705, allocations: 3.5 kB / 0.5831 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3706, allocations: 43.22 kB / 0.5831 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.3706, allocations: 6.172 kB / 0.5831 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.3707, allocations: 6.438 kB / 0.5831 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.3708, allocations: 38.33 kB / 0.5831 GB, free: 26.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3708, allocations: 4 kB / 0.5832 GB, free: 26.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3708, allocations: 3.344 kB / 0.5832 GB, free: 26.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.3708, allocations: 0 / 0.5832 GB, free: 26.36 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.0003522/0.3712, allocations: 330.4 kB / 0.5835 GB, free: 26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.3713, allocations: 12.95 kB / 0.5835 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.3714, allocations: 17.12 kB / 0.5835 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.392e-05/0.3715, allocations: 176.1 kB / 0.5837 GB, free: 25.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3715, allocations: 1.594 kB / 0.5837 GB, free: 25.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.3715, allocations: 3.875 kB / 0.5837 GB, free: 25.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.3717, allocations: 47 kB / 0.5837 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3717, allocations: 192 / 0.5837 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3717, allocations: 5.969 kB / 0.5837 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3717, allocations: 0 / 0.5837 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.134e-05/0.3718, allocations: 13.06 kB / 0.5837 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.3719, allocations: 156.5 kB / 0.5839 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.687e-05/0.372, allocations: 46.19 kB / 0.5839 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.372, allocations: 26.75 kB / 0.584 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.3721, allocations: 4.766 kB / 0.584 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.3721, allocations: 32.47 kB / 0.584 GB, free: 25.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.3721, allocations: 1.375 kB / 0.584 GB, free: 25.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.00186/0.374, allocations: 0.4925 MB / 0.5845 GB, free: 25.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.374, allocations: 53.97 kB / 0.5845 GB, free: 25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.835e-05/0.374, allocations: 93.84 kB / 0.5846 GB, free: 24.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.374, allocations: 26.73 kB / 0.5846 GB, free: 24.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.372e-05/0.3741, allocations: 80.64 kB / 0.5847 GB, free: 24.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.3741, allocations: 29.34 kB / 0.5847 GB, free: 24.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.3741, allocations: 26.86 kB / 0.5848 GB, free: 24.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.3742, allocations: 311.9 kB / 0.5851 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-05/0.3742, allocations: 28.2 kB / 0.5851 GB, free: 24.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.539e-05/0.3743, allocations: 20.88 kB / 0.5851 GB, free: 24.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.705e-05/0.3744, allocations: 61.11 kB / 0.5852 GB, free: 24.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3744, allocations: 1.031 kB / 0.5852 GB, free: 24.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001216/0.3745, allocations: 95.58 kB / 0.5853 GB, free: 24.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3745, allocations: 10.97 kB / 0.5853 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3746, allocations: 0.7188 kB / 0.5853 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3746, allocations: 0 / 0.5853 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3747, allocations: 12.5 kB / 0.5853 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3747, allocations: 0 / 0.5853 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.3748, allocations: 3.438 kB / 0.5853 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3748, allocations: 5.375 kB / 0.5853 GB, free: 24.29 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.241e-05/0.3749, allocations: 120.9 kB / 0.5854 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.3749, allocations: 8.125 kB / 0.5854 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.3749, allocations: 17.16 kB / 0.5854 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3749, allocations: 3.812 kB / 0.5854 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.375, allocations: 4.969 kB / 0.5854 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.375, allocations: 0 / 0.5854 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.3751, allocations: 172 kB / 0.5856 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3751, allocations: 0.625 kB / 0.5856 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.3752, allocations: 11.56 kB / 0.5856 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3752, allocations: 6.062 kB / 0.5856 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3752, allocations: 4 kB / 0.5856 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.3753, allocations: 2.938 kB / 0.5856 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3753, allocations: 3.984 kB / 0.5856 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.3755, allocations: 142.8 kB / 0.5858 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.3755, allocations: 82.52 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.3755, allocations: 2.031 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3756, allocations: 3.375 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.3757, allocations: 12.45 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3757, allocations: 1.281 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.496e-05/0.3757, allocations: 77.34 kB / 0.5859 GB, free: 23.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3757, allocations: 0 / 0.5859 GB, free: 23.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001878/0.3759, allocations: 10.94 kB / 0.586 GB, free: 23.62 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 0.0001161/0.376, allocations: 104.7 kB / 0.5861 GB, free: 23.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.3762, allocations: 61 kB / 0.5861 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3762, allocations: 0 / 0.5861 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.18e-05/0.3762, allocations: 30.44 kB / 0.5861 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.3764, allocations: 9.641 kB / 0.5861 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.3769, allocations: 188 kB / 0.5863 GB, free: 23.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.377, allocations: 0.6822 MB / 0.587 GB, free: 22.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.436e-05/0.3771, allocations: 10.53 kB / 0.587 GB, free: 22.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.3771, allocations: 10.94 kB / 0.587 GB, free: 22.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3771, allocations: 0.5312 kB / 0.587 GB, free: 22.61 MB / 446.1 MB Notification: Performance of Templates: time 0.002686/0.3798, allocations: 0.6961 MB / 0.5877 GB, free: 22.3 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)