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.00575/0.00575, allocations: 99.84 kB / 15.73 MB, free: 6.492 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.001415/0.001415, allocations: 203.9 kB / 16.68 MB, free: 6.375 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9269/0.9269, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 55.91 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5056/0.5068, allocations: 80.91 MB / 0.6646 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002541/0.5094, allocations: 1.416 MB / 0.666 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.5104, allocations: 0.5866 MB / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.5104, allocations: 5.469 kB / 0.6666 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.5105, allocations: 0 / 0.6666 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.812e-05/0.5106, allocations: 5.312 kB / 0.6666 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.511, allocations: 91.91 kB / 0.6667 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.525e-05/0.5111, allocations: 33.64 kB / 0.6667 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.5112, allocations: 6.734 kB / 0.6667 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.45e-05/0.5112, allocations: 8.719 kB / 0.6667 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.5113, allocations: 19.39 kB / 0.6667 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.5113, allocations: 6.719 kB / 0.6667 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002876/0.5116, allocations: 143.4 kB / 0.6669 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.5116, allocations: 0 / 0.6669 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.5117, allocations: 10.69 kB / 0.6669 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.5119, allocations: 105.4 kB / 0.667 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5119, allocations: 0 / 0.667 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5119, allocations: 0 / 0.667 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.5119, allocations: 0 / 0.667 GB, free: 5.773 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.0004339/0.5124, allocations: 358.9 kB / 0.6673 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5124, allocations: 13.91 kB / 0.6673 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/0.5129, allocations: 28.08 kB / 0.6674 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.056e-05/0.513, allocations: 169.8 kB / 0.6675 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.513, allocations: 5.938 kB / 0.6675 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.513, allocations: 384 / 0.6675 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.5132, allocations: 67.58 kB / 0.6676 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.5132, allocations: 192 / 0.6676 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.5133, allocations: 7.938 kB / 0.6676 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.5133, allocations: 1.281 kB / 0.6676 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.5135, allocations: 55.03 kB / 0.6677 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.514, allocations: 279.4 kB / 0.6679 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.5142, allocations: 64.75 kB / 0.668 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.5143, allocations: 31.55 kB / 0.668 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.5143, allocations: 7.984 kB / 0.668 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.5144, allocations: 36.31 kB / 0.6681 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.5144, allocations: 0 / 0.6681 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000488/0.5149, allocations: 114.6 kB / 0.6682 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.5149, allocations: 52.84 kB / 0.6682 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.027e-05/0.515, allocations: 105.4 kB / 0.6683 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.515, allocations: 27.11 kB / 0.6684 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.515, allocations: 81.73 kB / 0.6684 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.515, allocations: 3.953 kB / 0.6684 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.5151, allocations: 24.83 kB / 0.6685 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.026e-05/0.5151, allocations: 312.4 kB / 0.6688 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.5153, allocations: 29.06 kB / 0.6688 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.5154, allocations: 25.72 kB / 0.6688 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.5156, allocations: 57.53 kB / 0.6689 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5156, allocations: 0 / 0.6689 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002766/0.5159, allocations: 101.7 kB / 0.669 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.5159, allocations: 7.625 kB / 0.669 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.516, allocations: 0 / 0.669 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.516, allocations: 0 / 0.669 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.5161, allocations: 17.05 kB / 0.669 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.5161, allocations: 0 / 0.669 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.083e-05/0.5162, allocations: 9.047 kB / 0.669 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.5162, allocations: 5.172 kB / 0.669 GB, free: 3.797 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 5.512e-05/0.5163, allocations: 110.9 kB / 0.6691 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.5163, allocations: 5.516 kB / 0.6691 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.5164, allocations: 12.59 kB / 0.6691 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.5164, allocations: 0 / 0.6691 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5164, allocations: 1.469 kB / 0.6691 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5164, allocations: 0 / 0.6691 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.5165, allocations: 167.6 kB / 0.6693 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.5165, allocations: 0 / 0.6693 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.5166, allocations: 16.91 kB / 0.6693 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5166, allocations: 3.938 kB / 0.6693 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.5167, allocations: 1.531 kB / 0.6693 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5167, allocations: 4 kB / 0.6693 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.5167, allocations: 0 / 0.6693 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.517, allocations: 189.3 kB / 0.6695 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.517, allocations: 81.06 kB / 0.6696 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.517, allocations: 5.156 kB / 0.6696 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.5172, allocations: 9.484 kB / 0.6696 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.5172, allocations: 9.375 kB / 0.6696 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.5172, allocations: 5.438 kB / 0.6696 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.603e-05/0.5172, allocations: 82.02 kB / 0.6697 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5172, allocations: 0 / 0.6697 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002387/0.5175, allocations: 11.06 kB / 0.6697 GB, free: 3.074 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.0001709/0.5177, allocations: 114.9 kB / 0.6698 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003057/0.518, allocations: 58.5 kB / 0.6698 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.518, allocations: 1.469 kB / 0.6699 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.5181, allocations: 32 kB / 0.6699 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.5184, allocations: 9.281 kB / 0.6699 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.5188, allocations: 132.2 kB / 0.67 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.519, allocations: 0.6769 MB / 0.6707 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.81e-05/0.519, allocations: 15.64 kB / 0.6707 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.5191, allocations: 8.719 kB / 0.6707 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.5191, allocations: 0 / 0.6707 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of Templates: time 0.003034/0.5221, allocations: 0.78 MB / 0.6715 GB, free: 1.672 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)