Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007262/0.007262, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001618/0.001618, allocations: 190 kB / 16.67 MB, free: 5.977 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9407/0.9407, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 59.91 kB / 0.5856 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4972/0.4986, allocations: 80.92 MB / 0.6646 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003644/0.5023, allocations: 1.4 MB / 0.666 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.5038, allocations: 0.5836 MB / 0.6666 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.5038, allocations: 5.438 kB / 0.6666 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.729e-05/0.5039, allocations: 3.938 kB / 0.6666 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.778e-05/0.504, allocations: 7.922 kB / 0.6666 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.5047, allocations: 97.16 kB / 0.6667 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.308e-05/0.5048, allocations: 25.3 kB / 0.6667 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.5049, allocations: 11.72 kB / 0.6667 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.386e-05/0.505, allocations: 3.969 kB / 0.6667 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.5051, allocations: 19.42 kB / 0.6667 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.5051, allocations: 1.531 kB / 0.6667 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.5055, allocations: 144.2 kB / 0.6669 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.5056, allocations: 4 kB / 0.6669 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.5056, allocations: 15.98 kB / 0.6669 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.5059, allocations: 110.6 kB / 0.667 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5059, allocations: 0 / 0.667 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5059, allocations: 0 / 0.667 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.5059, allocations: 0 / 0.667 GB, free: 5.785 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005957/0.5065, allocations: 361.4 kB / 0.6673 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.5066, allocations: 9.188 kB / 0.6674 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007078/0.5073, allocations: 28.45 kB / 0.6674 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.5075, allocations: 166.7 kB / 0.6675 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.5075, allocations: 384 / 0.6675 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.5075, allocations: 1.688 kB / 0.6675 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.5078, allocations: 70.23 kB / 0.6676 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.5079, allocations: 1.062 kB / 0.6676 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.5079, allocations: 3.938 kB / 0.6676 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.5079, allocations: 1.219 kB / 0.6676 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.5082, allocations: 55.19 kB / 0.6677 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.5088, allocations: 276.2 kB / 0.6679 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.5092, allocations: 60.59 kB / 0.668 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.5094, allocations: 35.08 kB / 0.668 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.5094, allocations: 0 / 0.668 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.5094, allocations: 35.7 kB / 0.6681 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.705e-06/0.5094, allocations: 0 / 0.6681 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007903/0.5102, allocations: 115.7 kB / 0.6682 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.5103, allocations: 59.33 kB / 0.6682 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/0.5104, allocations: 98.8 kB / 0.6683 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.5104, allocations: 27.45 kB / 0.6683 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.5105, allocations: 84.14 kB / 0.6684 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.5105, allocations: 4.875 kB / 0.6684 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.5106, allocations: 20.48 kB / 0.6684 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.805e-05/0.5107, allocations: 320 kB / 0.6687 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.5109, allocations: 26.09 kB / 0.6688 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.5111, allocations: 29.09 kB / 0.6688 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.5115, allocations: 65.08 kB / 0.6689 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5116, allocations: 0 / 0.6689 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000448/0.512, allocations: 89.7 kB / 0.6689 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.5121, allocations: 5.219 kB / 0.669 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5121, allocations: 1.5 kB / 0.669 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.5121, allocations: 4.031 kB / 0.669 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.5123, allocations: 15.94 kB / 0.669 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5123, allocations: 3.984 kB / 0.669 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.5125, allocations: 9.297 kB / 0.669 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.5125, allocations: 1.5 kB / 0.669 GB, free: 3.824 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 (2): * Single equations (assignments): 2 * 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.894e-05/0.5126, allocations: 119 kB / 0.6691 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.5127, allocations: 1.375 kB / 0.6691 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.66e-05/0.5127, allocations: 8.75 kB / 0.6691 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.5128, allocations: 0 / 0.6691 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5128, allocations: 0 / 0.6691 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.5128, allocations: 1.25 kB / 0.6691 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.513, allocations: 174.9 kB / 0.6693 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.513, allocations: 1.25 kB / 0.6693 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.5132, allocations: 11.77 kB / 0.6693 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.5132, allocations: 0 / 0.6693 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.5132, allocations: 5.156 kB / 0.6693 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.5132, allocations: 0 / 0.6693 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5133, allocations: 1.188 kB / 0.6693 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.5138, allocations: 184.8 kB / 0.6695 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.5138, allocations: 90.23 kB / 0.6696 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.5139, allocations: 0 / 0.6696 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.5141, allocations: 12.86 kB / 0.6696 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.5141, allocations: 1.5 kB / 0.6696 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.5142, allocations: 5.484 kB / 0.6696 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.125e-05/0.5142, allocations: 82.34 kB / 0.6697 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5142, allocations: 0 / 0.6697 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000453/0.5147, allocations: 11.22 kB / 0.6697 GB, free: 3.105 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0002327/0.5149, allocations: 118.9 kB / 0.6698 GB, free: 3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004742/0.5154, allocations: 54.72 kB / 0.6698 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5154, allocations: 0 / 0.6698 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.5157, allocations: 33.53 kB / 0.6699 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.5161, allocations: 9.469 kB / 0.6699 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006077/0.5167, allocations: 133.1 kB / 0.67 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.5169, allocations: 0.6814 MB / 0.6707 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.966e-05/0.517, allocations: 11.75 kB / 0.6707 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.517, allocations: 8.75 kB / 0.6707 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.517, allocations: 0 / 0.6707 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of Templates: time 0.004339/0.5214, allocations: 0.7839 MB / 0.6715 GB, free: 1.699 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)