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.001027/0.001027, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0092/0.0092, allocations: 169.9 kB / 16.26 MB, free: 6.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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7807/0.7807, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.0003161, allocations: 10.06 kB / 0.504 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.472, allocations: 81.58 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001365/0.4734, allocations: 0.9781 MB / 0.5846 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005556/0.474, allocations: 240.2 kB / 0.5849 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.265e-05/0.474, allocations: 0.625 kB / 0.5849 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.474, allocations: 0 / 0.5849 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.138e-05/0.4741, allocations: 5.484 kB / 0.5849 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.4744, allocations: 40.25 kB / 0.5849 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.4744, allocations: 15.31 kB / 0.5849 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.4745, allocations: 2.047 kB / 0.5849 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.587e-05/0.4745, allocations: 10.39 kB / 0.5849 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.791e-05/0.4746, allocations: 9.312 kB / 0.585 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.4746, allocations: 3.156 kB / 0.585 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.4747, allocations: 43.48 kB / 0.585 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.4747, allocations: 10.08 kB / 0.585 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.4748, allocations: 30.06 kB / 0.585 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.4749, allocations: 41.67 kB / 0.5851 GB, free: 3.055 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4749, allocations: 4.219 kB / 0.5851 GB, free: 3.055 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4749, allocations: 0 / 0.5851 GB, free: 3.055 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.4749, allocations: 0 / 0.5851 GB, free: 3.055 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003329/0.4753, allocations: 327 kB / 0.5854 GB, free: 2.699 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4753, allocations: 11.31 kB / 0.5854 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.4755, allocations: 18.33 kB / 0.5854 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.876e-05/0.4756, allocations: 170.8 kB / 0.5856 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.4756, allocations: 384 / 0.5856 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.4756, allocations: 6.969 kB / 0.5856 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.4758, allocations: 43.22 kB / 0.5856 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4758, allocations: 4.688 kB / 0.5856 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.4758, allocations: 5.188 kB / 0.5856 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4758, allocations: 0 / 0.5856 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.86e-05/0.4759, allocations: 14.28 kB / 0.5857 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.476, allocations: 162.6 kB / 0.5858 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.578e-05/0.4761, allocations: 45.53 kB / 0.5859 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/0.4762, allocations: 20.28 kB / 0.5859 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.4762, allocations: 1.25 kB / 0.5859 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.4762, allocations: 39.19 kB / 0.5859 GB, free: 2.145 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.4762, allocations: 0 / 0.5859 GB, free: 2.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.002129/0.4784, allocations: 0.489 MB / 0.5864 GB, free: 1.824 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.4784, allocations: 52.75 kB / 0.5864 GB, free: 1.762 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.185e-05/0.4784, allocations: 90.47 kB / 0.5865 GB, free: 1.664 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.4784, allocations: 35.73 kB / 0.5866 GB, free: 1.625 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.86e-05/0.4785, allocations: 80.14 kB / 0.5866 GB, free: 1.543 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.4785, allocations: 29.14 kB / 0.5867 GB, free: 1.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.4785, allocations: 12.98 kB / 0.5867 GB, free: 1.504 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.519e-05/0.4786, allocations: 317.2 kB / 0.587 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/0.4787, allocations: 25.45 kB / 0.587 GB, free: 1.176 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.89e-05/0.4787, allocations: 23.84 kB / 0.587 GB, free: 1.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.4788, allocations: 59.75 kB / 0.5871 GB, free: 1.133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4788, allocations: 0 / 0.5871 GB, free: 1.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001459/0.479, allocations: 96.33 kB / 0.5872 GB, free: 1.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.479, allocations: 9.984 kB / 0.5872 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4791, allocations: 0.9688 kB / 0.5872 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4791, allocations: 1.188 kB / 0.5872 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.4792, allocations: 17.39 kB / 0.5872 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4792, allocations: 4.844 kB / 0.5872 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.693e-05/0.4793, allocations: 2.453 kB / 0.5872 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.4793, allocations: 1.938 kB / 0.5872 GB, free: 1.059 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 (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 6.62e-05/0.4794, allocations: 121.1 kB / 0.5873 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.4794, allocations: 10.52 kB / 0.5873 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.4795, allocations: 13.45 kB / 0.5873 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4795, allocations: 0.6875 kB / 0.5873 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4795, allocations: 1.312 kB / 0.5873 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4795, allocations: 0.6094 kB / 0.5874 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.4796, allocations: 180.4 kB / 0.5875 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.4796, allocations: 0 / 0.5875 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.4798, allocations: 13.88 kB / 0.5875 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.4798, allocations: 4.625 kB / 0.5875 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.4798, allocations: 1.156 kB / 0.5875 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4798, allocations: 4.703 kB / 0.5875 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4798, allocations: 4.781 kB / 0.5875 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.48, allocations: 150.2 kB / 0.5877 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.4801, allocations: 82.95 kB / 0.5878 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.4801, allocations: 1.188 kB / 0.5878 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.4802, allocations: 4.922 kB / 0.5878 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.4802, allocations: 4.391 kB / 0.5878 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.4802, allocations: 8.125 kB / 0.5878 GB, free: 492 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.322e-05/0.4803, allocations: 75.28 kB / 0.5879 GB, free: 416 kB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4803, allocations: 0 / 0.5879 GB, free: 416 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001958/0.4805, allocations: 13.56 kB / 0.5879 GB, free: 412 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 (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.0001034/0.4806, allocations: 99.91 kB / 0.588 GB, free: 320 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.4807, allocations: 63.31 kB / 0.588 GB, free: 296 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4807, allocations: 0 / 0.588 GB, free: 296 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.214e-05/0.4808, allocations: 33.62 kB / 0.5881 GB, free: 284 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.481, allocations: 8.703 kB / 0.5881 GB, free: 280 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.4815, allocations: 199.6 kB / 0.5883 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.4818, allocations: 0.6805 MB / 0.5889 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.742e-05/0.4819, allocations: 11.72 kB / 0.5889 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.482, allocations: 10.38 kB / 0.5889 GB, free: 15.41 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.482, allocations: 0 / 0.5889 GB, free: 15.41 MB / 446.1 MB Notification: Performance of Templates: time 0.003306/0.4853, allocations: 0.6539 MB / 0.5896 GB, free: 15.36 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)