Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006636/0.006635, allocations: 100.1 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.001195/0.001195, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9903/0.9903, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.89 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4479, allocations: 80.9 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002427/0.4504, allocations: 1.283 MB / 0.6659 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008554/0.4513, allocations: 0.5696 MB / 0.6664 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.896e-05/0.4513, allocations: 0 / 0.6664 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.4513, allocations: 0 / 0.6664 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.803e-05/0.4514, allocations: 5.25 kB / 0.6664 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.4517, allocations: 99.62 kB / 0.6665 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.487e-05/0.4518, allocations: 24.23 kB / 0.6666 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.4518, allocations: 5.5 kB / 0.6666 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.67e-05/0.4519, allocations: 9.016 kB / 0.6666 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.433e-05/0.4519, allocations: 7 kB / 0.6666 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.4519, allocations: 1.125 kB / 0.6666 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.4522, allocations: 137.3 kB / 0.6667 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.4522, allocations: 9.031 kB / 0.6667 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.4523, allocations: 8.281 kB / 0.6667 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.4524, allocations: 90.75 kB / 0.6668 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4525, allocations: 7.938 kB / 0.6668 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4525, allocations: 0 / 0.6668 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.4525, allocations: 0 / 0.6668 GB, free: 5.918 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004852/0.453, allocations: 354.3 kB / 0.6672 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.453, allocations: 8.969 kB / 0.6672 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004788/0.4535, allocations: 28.81 kB / 0.6672 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.4536, allocations: 161.6 kB / 0.6674 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.4537, allocations: 4.375 kB / 0.6674 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.4537, allocations: 1.688 kB / 0.6674 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.4539, allocations: 46.22 kB / 0.6674 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4539, allocations: 192 / 0.6674 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.4539, allocations: 5.25 kB / 0.6674 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4539, allocations: 3.938 kB / 0.6674 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.4541, allocations: 27.81 kB / 0.6674 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.4543, allocations: 161.3 kB / 0.6676 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.4544, allocations: 41.09 kB / 0.6676 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.106e-05/0.4545, allocations: 15.16 kB / 0.6676 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.4545, allocations: 5.094 kB / 0.6677 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.4546, allocations: 36 kB / 0.6677 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.4546, allocations: 0 / 0.6677 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003403/0.4549, allocations: 77.09 kB / 0.6678 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.455, allocations: 55.47 kB / 0.6678 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.812e-05/0.455, allocations: 101.9 kB / 0.6679 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.4551, allocations: 25.7 kB / 0.6679 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.087e-05/0.4551, allocations: 80.14 kB / 0.668 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.4551, allocations: 9.281 kB / 0.668 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.4552, allocations: 16.77 kB / 0.668 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.487e-05/0.4552, allocations: 312 kB / 0.6683 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.426e-05/0.4553, allocations: 14.89 kB / 0.6683 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.101e-05/0.4554, allocations: 13.48 kB / 0.6684 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.4555, allocations: 34.31 kB / 0.6684 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4555, allocations: 0 / 0.6684 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001613/0.4557, allocations: 55.48 kB / 0.6684 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4557, allocations: 9.969 kB / 0.6685 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4557, allocations: 3.938 kB / 0.6685 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.4557, allocations: 0 / 0.6685 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.997e-05/0.4558, allocations: 8.891 kB / 0.6685 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4558, allocations: 1.406 kB / 0.6685 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.693e-05/0.4559, allocations: 1.156 kB / 0.6685 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.4559, allocations: 5.266 kB / 0.6685 GB, free: 4.184 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 6.362e-05/0.456, allocations: 114.9 kB / 0.6686 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.456, allocations: 5.156 kB / 0.6686 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.456, allocations: 16.8 kB / 0.6686 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.4561, allocations: 0 / 0.6686 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4561, allocations: 0 / 0.6686 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4561, allocations: 0 / 0.6686 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.681e-05/0.4562, allocations: 157.9 kB / 0.6688 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4562, allocations: 1.5 kB / 0.6688 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.4563, allocations: 12.05 kB / 0.6688 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4563, allocations: 5.094 kB / 0.6688 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.4563, allocations: 11.92 kB / 0.6688 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4563, allocations: 1.094 kB / 0.6688 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4563, allocations: 0 / 0.6688 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.4565, allocations: 80.3 kB / 0.6689 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.4565, allocations: 90.5 kB / 0.6689 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.4566, allocations: 3.938 kB / 0.669 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.782e-05/0.4566, allocations: 6.562 kB / 0.669 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.4566, allocations: 5.281 kB / 0.669 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.4567, allocations: 5.328 kB / 0.669 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.965e-05/0.4567, allocations: 76.66 kB / 0.669 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4567, allocations: 1.312 kB / 0.669 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002174/0.4569, allocations: 10.47 kB / 0.6691 GB, free: 3.547 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.0001858/0.4571, allocations: 119.5 kB / 0.6692 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.4573, allocations: 31.66 kB / 0.6692 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4573, allocations: 0 / 0.6692 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.217e-05/0.4574, allocations: 16.55 kB / 0.6692 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.4576, allocations: 9.281 kB / 0.6692 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.458, allocations: 118.9 kB / 0.6693 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.4582, allocations: 0.6754 MB / 0.67 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.232e-05/0.4583, allocations: 11.98 kB / 0.67 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.4583, allocations: 12.72 kB / 0.67 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4583, allocations: 5.438 kB / 0.67 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of Templates: time 0.002963/0.4613, allocations: 0.7256 MB / 0.6707 GB, free: 2.203 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)