Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006034/0.006034, allocations: 102.9 kB / 15.73 MB, free: 6.477 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.001881/0.001881, allocations: 194.4 kB / 16.67 MB, free: 6.379 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7277/0.7277, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 59.91 kB / 0.5809 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4076, allocations: 80.2 MB / 0.6592 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002094/0.4098, allocations: 1.278 MB / 0.6604 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009568/0.4107, allocations: 0.5658 MB / 0.661 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.4108, allocations: 1.5 kB / 0.661 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.4108, allocations: 4.609 kB / 0.661 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.384e-05/0.4109, allocations: 4.594 kB / 0.661 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.4113, allocations: 98.44 kB / 0.6611 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.128e-05/0.4114, allocations: 18.62 kB / 0.6611 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.4115, allocations: 7.266 kB / 0.6611 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.981e-05/0.4115, allocations: 4.641 kB / 0.6611 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.4116, allocations: 4.672 kB / 0.6611 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.4116, allocations: 0 / 0.6611 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.4119, allocations: 146.2 kB / 0.6613 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.4119, allocations: 4.609 kB / 0.6613 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.412, allocations: 12.56 kB / 0.6613 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.4122, allocations: 90.12 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4122, allocations: 1.312 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4122, allocations: 3.938 kB / 0.6614 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4122, allocations: 0 / 0.6614 GB, free: 8.477 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.0003902/0.4126, allocations: 346.4 kB / 0.6617 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.4127, allocations: 9.219 kB / 0.6617 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.572e-05/0.4127, allocations: 37.05 kB / 0.6617 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004274/0.4131, allocations: 32.94 kB / 0.6618 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.452e-05/0.4132, allocations: 163 kB / 0.6619 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.4132, allocations: 5.875 kB / 0.6619 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.4133, allocations: 384 / 0.6619 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.4134, allocations: 48.75 kB / 0.662 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4134, allocations: 7.922 kB / 0.662 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.4134, allocations: 5.219 kB / 0.662 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.4135, allocations: 0.6094 kB / 0.662 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.4136, allocations: 22.56 kB / 0.662 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.4137, allocations: 158.7 kB / 0.6622 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.4139, allocations: 47.28 kB / 0.6622 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.414, allocations: 14.5 kB / 0.6622 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.414, allocations: 4.688 kB / 0.6622 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.414, allocations: 35.69 kB / 0.6623 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.414, allocations: 0 / 0.6623 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002857/0.4143, allocations: 76.34 kB / 0.6623 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.4143, allocations: 57.3 kB / 0.6624 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.819e-05/0.4144, allocations: 95.84 kB / 0.6625 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.4144, allocations: 25.7 kB / 0.6625 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.293e-05/0.4144, allocations: 80.14 kB / 0.6626 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.4144, allocations: 9.969 kB / 0.6626 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.4145, allocations: 15.88 kB / 0.6626 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.4145, allocations: 315.6 kB / 0.6629 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.4146, allocations: 13.98 kB / 0.6629 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.4147, allocations: 14.06 kB / 0.6629 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.4148, allocations: 31.5 kB / 0.663 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4148, allocations: 0 / 0.663 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001516/0.4149, allocations: 60.44 kB / 0.663 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.415, allocations: 9.812 kB / 0.663 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.415, allocations: 0 / 0.663 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.415, allocations: 0 / 0.663 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.701e-05/0.4151, allocations: 8.094 kB / 0.663 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4151, allocations: 2.156 kB / 0.663 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.4152, allocations: 1.906 kB / 0.663 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.4152, allocations: 6.297 kB / 0.6631 GB, free: 6.785 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 4.504e-05/0.4152, allocations: 116.6 kB / 0.6632 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.4152, allocations: 5.719 kB / 0.6632 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.4153, allocations: 8.891 kB / 0.6632 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.4153, allocations: 0 / 0.6632 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.4153, allocations: 1.281 kB / 0.6632 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4153, allocations: 0.6562 kB / 0.6632 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.756e-05/0.4154, allocations: 170 kB / 0.6633 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4154, allocations: 0.6562 kB / 0.6633 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.4155, allocations: 8.297 kB / 0.6634 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4155, allocations: 3.938 kB / 0.6634 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4155, allocations: 3.062 kB / 0.6634 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4155, allocations: 4 kB / 0.6634 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4155, allocations: 0.7969 kB / 0.6634 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.4157, allocations: 85.08 kB / 0.6634 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.4157, allocations: 81.25 kB / 0.6635 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.4157, allocations: 5.766 kB / 0.6635 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.699e-05/0.4158, allocations: 6 kB / 0.6635 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.4158, allocations: 9.891 kB / 0.6635 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.4158, allocations: 2.844 kB / 0.6635 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.738e-05/0.4159, allocations: 78.53 kB / 0.6636 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4159, allocations: 4.031 kB / 0.6636 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001964/0.4161, allocations: 11.42 kB / 0.6636 GB, free: 6.172 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.0003899/0.4165, allocations: 0.639 MB / 0.6643 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.4167, allocations: 32.67 kB / 0.6643 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4167, allocations: 0 / 0.6643 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.273e-05/0.4167, allocations: 15.44 kB / 0.6643 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.417, allocations: 5.938 kB / 0.6643 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.4174, allocations: 153.1 kB / 0.6645 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.4175, allocations: 0.6737 MB / 0.6651 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.885e-05/0.4176, allocations: 8.188 kB / 0.6651 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.4176, allocations: 11.44 kB / 0.6651 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4176, allocations: 0 / 0.6651 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.4338, allocations: 1.575 MB / 0.6667 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/7.833, allocations: 12.77 kB / 0.6667 GB, free: 3.898 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)