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.0009713/0.0009713, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005464/0.005464, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.235/1.235, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.706/0.706, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 8 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3851, allocations: 81.58 MB / 0.5838 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001278/0.3864, allocations: 1.012 MB / 0.5847 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000903/0.3873, allocations: 0.5706 MB / 0.5853 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.625e-05/0.3874, allocations: 0.875 kB / 0.5853 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.3874, allocations: 0.5625 kB / 0.5853 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.273e-05/0.3874, allocations: 14.41 kB / 0.5853 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.3878, allocations: 77.42 kB / 0.5854 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.613e-05/0.3878, allocations: 18.41 kB / 0.5854 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.3879, allocations: 2.672 kB / 0.5854 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.3879, allocations: 8.125 kB / 0.5854 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.248e-05/0.388, allocations: 8.562 kB / 0.5854 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.388, allocations: 1.188 kB / 0.5854 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.3883, allocations: 153 kB / 0.5856 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.3883, allocations: 4.75 kB / 0.5856 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.3883, allocations: 33.95 kB / 0.5856 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.3886, allocations: 95.11 kB / 0.5857 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3886, allocations: 0.625 kB / 0.5857 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.3886, allocations: 0 / 0.5857 GB, free: 2.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.3886, allocations: 1.281 kB / 0.5857 GB, free: 2.723 MB / 430.1 MB 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.000302/0.3889, allocations: 343.3 kB / 0.586 GB, free: 2.352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3889, allocations: 10.84 kB / 0.586 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.389, allocations: 30.75 kB / 0.5861 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/0.3894, allocations: 38.61 kB / 0.5861 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.137e-05/0.3895, allocations: 167.4 kB / 0.5863 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3895, allocations: 1.094 kB / 0.5863 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.3895, allocations: 1.25 kB / 0.5863 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.3897, allocations: 52.25 kB / 0.5863 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3897, allocations: 9.094 kB / 0.5863 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.3897, allocations: 3.938 kB / 0.5863 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3897, allocations: 0 / 0.5863 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3899, allocations: 19.28 kB / 0.5864 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.39, allocations: 161.2 kB / 0.5865 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.3901, allocations: 43.86 kB / 0.5865 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.003e-05/0.3902, allocations: 18.72 kB / 0.5866 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3903, allocations: 0.9062 kB / 0.5866 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.3903, allocations: 32.11 kB / 0.5866 GB, free: 1.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3903, allocations: 3.938 kB / 0.5866 GB, free: 1.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003009/0.3906, allocations: 77.05 kB / 0.5867 GB, free: 1.719 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.3906, allocations: 51.41 kB / 0.5867 GB, free: 1.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.392e-05/0.3907, allocations: 100.5 kB / 0.5868 GB, free: 1.555 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.3907, allocations: 25.7 kB / 0.5868 GB, free: 1.523 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.814e-05/0.3907, allocations: 85.81 kB / 0.5869 GB, free: 1.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.3908, allocations: 5.281 kB / 0.5869 GB, free: 1.434 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.3908, allocations: 10.25 kB / 0.5869 GB, free: 1.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.246e-05/0.3908, allocations: 316.5 kB / 0.5872 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.3909, allocations: 13.84 kB / 0.5873 GB, free: 1.098 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.493e-05/0.391, allocations: 9.297 kB / 0.5873 GB, free: 1.098 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.3911, allocations: 36.52 kB / 0.5873 GB, free: 1.078 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3911, allocations: 0 / 0.5873 GB, free: 1.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001588/0.3913, allocations: 59.67 kB / 0.5874 GB, free: 1.039 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3913, allocations: 9.922 kB / 0.5874 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3913, allocations: 0 / 0.5874 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3913, allocations: 1.75 kB / 0.5874 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.3914, allocations: 7.219 kB / 0.5874 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3914, allocations: 0.9688 kB / 0.5874 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.3915, allocations: 6.328 kB / 0.5874 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3915, allocations: 7.344 kB / 0.5874 GB, free: 1.027 MB / 430.1 MB 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.162e-05/0.3916, allocations: 116.6 kB / 0.5875 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.3916, allocations: 5.75 kB / 0.5875 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.3916, allocations: 4.469 kB / 0.5875 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3916, allocations: 0.6562 kB / 0.5875 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3916, allocations: 0.8125 kB / 0.5875 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3916, allocations: 0 / 0.5875 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.155e-05/0.3917, allocations: 163.2 kB / 0.5877 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3917, allocations: 0 / 0.5877 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/0.3918, allocations: 12.89 kB / 0.5877 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3918, allocations: 4.641 kB / 0.5877 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.3918, allocations: 1.312 kB / 0.5877 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3918, allocations: 1.734 kB / 0.5877 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3918, allocations: 0 / 0.5877 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.392, allocations: 88.59 kB / 0.5878 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.3921, allocations: 82.27 kB / 0.5878 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.3921, allocations: 4.641 kB / 0.5879 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.709e-05/0.3922, allocations: 3.312 kB / 0.5879 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.3922, allocations: 2.016 kB / 0.5879 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3922, allocations: 5.266 kB / 0.5879 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.275e-05/0.3923, allocations: 79.2 kB / 0.5879 GB, free: 448 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3923, allocations: 4.031 kB / 0.5879 GB, free: 444 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001985/0.3925, allocations: 11.19 kB / 0.588 GB, free: 444 kB / 430.1 MB 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.0004413/0.3929, allocations: 0.6392 MB / 0.5886 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.3931, allocations: 27.73 kB / 0.5886 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3931, allocations: 0 / 0.5886 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.019e-05/0.3932, allocations: 21.47 kB / 0.5886 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.3934, allocations: 6.188 kB / 0.5886 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.3938, allocations: 165 kB / 0.5888 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.3941, allocations: 0.6749 MB / 0.5894 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.275e-05/0.3942, allocations: 7.531 kB / 0.5895 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.3943, allocations: 10.81 kB / 0.5895 GB, free: 14.94 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3943, allocations: 0.8125 kB / 0.5895 GB, free: 14.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1771/0.5713, allocations: 1.352 MB / 0.5908 GB, free: 14.8 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.5716, allocations: 217.4 kB / 0.591 GB, free: 14.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.623, allocations: 0 / 0.591 GB, free: 14.55 MB / 446.1 MB (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)