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.001047/0.001047, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7507/0.7507, allocations: 132.2 MB / 422.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001415, allocations: 59.44 kB / 0.5018 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4395, allocations: 80.21 MB / 0.5801 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002259/0.4418, allocations: 1.242 MB / 0.5813 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004737/0.4423, allocations: 236.7 kB / 0.5816 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.4423, allocations: 1.062 kB / 0.5816 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.4423, allocations: 3.938 kB / 0.5816 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.581e-05/0.4424, allocations: 0.7031 kB / 0.5816 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.4427, allocations: 45.27 kB / 0.5816 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.304e-05/0.4427, allocations: 23.66 kB / 0.5816 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.4428, allocations: 3.188 kB / 0.5816 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.276e-05/0.4428, allocations: 5.125 kB / 0.5816 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.4429, allocations: 14.58 kB / 0.5816 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.4429, allocations: 1.156 kB / 0.5816 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.443, allocations: 43.06 kB / 0.5817 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.4431, allocations: 2.141 kB / 0.5817 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.4431, allocations: 12.5 kB / 0.5817 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.4432, allocations: 42.86 kB / 0.5817 GB, free: 3.422 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4432, allocations: 0 / 0.5817 GB, free: 3.422 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4432, allocations: 0 / 0.5817 GB, free: 3.422 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.4433, allocations: 1.906 kB / 0.5817 GB, free: 3.422 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.0003118/0.4436, allocations: 330.4 kB / 0.5821 GB, free: 3.066 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.4436, allocations: 9.781 kB / 0.5821 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.4438, allocations: 14.55 kB / 0.5821 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.894e-05/0.4438, allocations: 169.8 kB / 0.5822 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.4438, allocations: 10.09 kB / 0.5823 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.4439, allocations: 3.031 kB / 0.5823 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.444, allocations: 46.3 kB / 0.5823 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.444, allocations: 192 / 0.5823 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.444, allocations: 5.828 kB / 0.5823 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.444, allocations: 1.219 kB / 0.5823 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.832e-05/0.4441, allocations: 17.25 kB / 0.5823 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.4442, allocations: 158.7 kB / 0.5825 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.351e-05/0.4443, allocations: 45.52 kB / 0.5825 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.4443, allocations: 23.59 kB / 0.5825 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.4443, allocations: 4.547 kB / 0.5825 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.4444, allocations: 36.16 kB / 0.5826 GB, free: 2.508 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.4444, allocations: 0 / 0.5826 GB, free: 2.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001954/0.4463, allocations: 0.4918 MB / 0.5831 GB, free: 2.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.4464, allocations: 57.66 kB / 0.5831 GB, free: 2.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.714e-05/0.4464, allocations: 89.86 kB / 0.5832 GB, free: 2.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.4464, allocations: 30.39 kB / 0.5832 GB, free: 1.984 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.54e-05/0.4464, allocations: 86.05 kB / 0.5833 GB, free: 1.898 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.4465, allocations: 28.05 kB / 0.5833 GB, free: 1.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.4465, allocations: 20.56 kB / 0.5834 GB, free: 1.855 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.038e-05/0.4466, allocations: 317.4 kB / 0.5837 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.4466, allocations: 22.55 kB / 0.5837 GB, free: 1.531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.4467, allocations: 26.95 kB / 0.5837 GB, free: 1.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.35e-05/0.4468, allocations: 56.48 kB / 0.5838 GB, free: 1.488 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.4468, allocations: 0 / 0.5838 GB, free: 1.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001336/0.4469, allocations: 96.83 kB / 0.5839 GB, free: 1.426 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4469, allocations: 11.91 kB / 0.5839 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4469, allocations: 0 / 0.5839 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4469, allocations: 1.125 kB / 0.5839 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.4471, allocations: 13.38 kB / 0.5839 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4471, allocations: 0.9375 kB / 0.5839 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.58e-05/0.4472, allocations: 1.719 kB / 0.5839 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.4472, allocations: 2.094 kB / 0.5839 GB, free: 1.422 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 5.039e-05/0.4473, allocations: 114.1 kB / 0.584 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.4473, allocations: 10.73 kB / 0.584 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.4473, allocations: 12.25 kB / 0.584 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4473, allocations: 1.922 kB / 0.584 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4473, allocations: 0 / 0.584 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.4474, allocations: 9.625 kB / 0.584 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.592e-05/0.4475, allocations: 183.6 kB / 0.5842 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4475, allocations: 4.594 kB / 0.5842 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.4476, allocations: 14.05 kB / 0.5842 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4476, allocations: 4.688 kB / 0.5842 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4476, allocations: 5.156 kB / 0.5842 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4476, allocations: 1.125 kB / 0.5842 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4476, allocations: 8 kB / 0.5842 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.4479, allocations: 139.2 kB / 0.5844 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.4479, allocations: 82.69 kB / 0.5844 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.4479, allocations: 5.984 kB / 0.5845 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.4481, allocations: 8.438 kB / 0.5845 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.4481, allocations: 4.172 kB / 0.5845 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.4481, allocations: 2.375 kB / 0.5845 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.382e-05/0.4481, allocations: 81.75 kB / 0.5845 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4481, allocations: 1.125 kB / 0.5845 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001904/0.4483, allocations: 14 kB / 0.5846 GB, free: 0.7578 MB / 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.0001267/0.4484, allocations: 100.2 kB / 0.5847 GB, free: 0.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.4486, allocations: 72.7 kB / 0.5847 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4486, allocations: 0 / 0.5847 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.74e-05/0.4487, allocations: 29.36 kB / 0.5848 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.4489, allocations: 12.2 kB / 0.5848 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.4495, allocations: 176.9 kB / 0.5849 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.4497, allocations: 0.679 MB / 0.5856 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.44e-05/0.4498, allocations: 11.59 kB / 0.5856 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.4498, allocations: 15.31 kB / 0.5856 GB, free: 15.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4498, allocations: 0 / 0.5856 GB, free: 15.77 MB / 446.1 MB Notification: Performance of Templates: time 0.002927/0.4527, allocations: 0.6772 MB / 0.5863 GB, free: 15.73 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)