Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.007216/0.007216, allocations: 96.72 kB / 15.73 MB, free: 6.004 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.001226/0.001226, allocations: 194.5 kB / 16.67 MB, free: 5.934 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.007/1.007, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.91 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4728, allocations: 80.91 MB / 0.6647 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002767/0.4757, allocations: 1.288 MB / 0.6659 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.4768, allocations: 0.6395 MB / 0.6665 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.4769, allocations: 0 / 0.6665 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.4769, allocations: 0 / 0.6665 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.079e-05/0.477, allocations: 4.938 kB / 0.6665 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/0.4776, allocations: 106.9 kB / 0.6666 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.313e-05/0.4777, allocations: 36.77 kB / 0.6667 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.567e-05/0.4778, allocations: 1.156 kB / 0.6667 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.382e-05/0.4778, allocations: 10.83 kB / 0.6667 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.269e-05/0.4779, allocations: 12.02 kB / 0.6667 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.4779, allocations: 1.25 kB / 0.6667 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.4783, allocations: 146.6 kB / 0.6668 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.4783, allocations: 9.438 kB / 0.6668 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.4783, allocations: 8.906 kB / 0.6669 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.4786, allocations: 90.92 kB / 0.6669 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.4786, allocations: 4 kB / 0.6669 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.577e-06/0.4786, allocations: 0 / 0.6669 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.4787, allocations: 9.031 kB / 0.667 GB, free: 5.832 MB / 0.4981 GB 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.0004939/0.4792, allocations: 355.4 kB / 0.6673 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4792, allocations: 8.656 kB / 0.6673 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/0.4796, allocations: 29.72 kB / 0.6673 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.911e-05/0.4798, allocations: 170 kB / 0.6675 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.4798, allocations: 4.375 kB / 0.6675 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.4798, allocations: 6.906 kB / 0.6675 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.48, allocations: 57.5 kB / 0.6676 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.48, allocations: 192 / 0.6676 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.48, allocations: 5.031 kB / 0.6676 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.48, allocations: 0 / 0.6676 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.4802, allocations: 26.97 kB / 0.6676 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.4803, allocations: 172.5 kB / 0.6678 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.4807, allocations: 66.81 kB / 0.6678 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.4808, allocations: 28.86 kB / 0.6678 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4808, allocations: 7.984 kB / 0.6679 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.4808, allocations: 35.88 kB / 0.6679 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.4808, allocations: 0 / 0.6679 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003018/0.4838, allocations: 0.5713 MB / 0.6684 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.4839, allocations: 51.41 kB / 0.6685 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.962e-05/0.4839, allocations: 96.75 kB / 0.6686 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.484, allocations: 30.77 kB / 0.6686 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.997e-05/0.484, allocations: 80.14 kB / 0.6687 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.484, allocations: 19.39 kB / 0.6687 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.4841, allocations: 27.34 kB / 0.6687 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.4841, allocations: 320.3 kB / 0.669 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.4843, allocations: 34.44 kB / 0.6691 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.4844, allocations: 35.03 kB / 0.6691 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.4847, allocations: 94.78 kB / 0.6692 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4847, allocations: 0 / 0.6692 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000326/0.485, allocations: 117.5 kB / 0.6693 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4851, allocations: 8.812 kB / 0.6693 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4851, allocations: 1.375 kB / 0.6693 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.4851, allocations: 8 kB / 0.6693 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.4853, allocations: 30.34 kB / 0.6694 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4853, allocations: 1.594 kB / 0.6694 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.4855, allocations: 7.109 kB / 0.6694 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.4855, allocations: 6.422 kB / 0.6694 GB, free: 3.555 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.651e-05/0.4856, allocations: 112.4 kB / 0.6695 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.4856, allocations: 5.25 kB / 0.6695 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.824e-05/0.4856, allocations: 14.69 kB / 0.6695 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4857, allocations: 3.938 kB / 0.6695 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.4857, allocations: 0 / 0.6695 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4857, allocations: 1.344 kB / 0.6695 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.4858, allocations: 190.6 kB / 0.6697 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4858, allocations: 4 kB / 0.6697 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.486, allocations: 25.75 kB / 0.6697 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.486, allocations: 5.031 kB / 0.6697 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.4861, allocations: 9.078 kB / 0.6697 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4861, allocations: 1.469 kB / 0.6697 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4861, allocations: 0 / 0.6697 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005159/0.4866, allocations: 185.8 kB / 0.6699 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.4866, allocations: 90.16 kB / 0.67 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.4867, allocations: 1.406 kB / 0.67 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.4868, allocations: 6.969 kB / 0.67 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.4868, allocations: 10.42 kB / 0.67 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.4869, allocations: 2.156 kB / 0.67 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.48e-05/0.4869, allocations: 80.45 kB / 0.6701 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4869, allocations: 1.594 kB / 0.6701 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002502/0.4872, allocations: 29.78 kB / 0.6701 GB, free: 2.832 MB / 0.4981 GB 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 (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.0002051/0.4874, allocations: 134 kB / 0.6702 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.4877, allocations: 89.98 kB / 0.6703 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4877, allocations: 0 / 0.6703 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.4879, allocations: 48.05 kB / 0.6704 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.4881, allocations: 11.44 kB / 0.6704 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.4887, allocations: 163.3 kB / 0.6705 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.4888, allocations: 0.6789 MB / 0.6712 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.489, allocations: 31.97 kB / 0.6712 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.4891, allocations: 15.92 kB / 0.6713 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.4891, allocations: 1.625 kB / 0.6713 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of Templates: time 0.003695/0.4928, allocations: 1.502 MB / 0.6727 GB, free: 1.031 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)