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.001488/0.001488, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001837/0.001837, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.365/2.365, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.296/1.296, allocations: 132.2 MB / 423.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005195, allocations: 8.5 kB / 0.5033 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8719/0.8724, allocations: 81.57 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002939/0.8754, allocations: 0.9918 MB / 0.5839 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.8772, allocations: 0.5093 MB / 0.5844 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.8773, allocations: 4.469 kB / 0.5844 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.8773, allocations: 1.391 kB / 0.5844 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.8774, allocations: 10.89 kB / 0.5844 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007261/0.8782, allocations: 83.19 kB / 0.5845 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.935e-05/0.8783, allocations: 15.38 kB / 0.5845 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.105e-05/0.8783, allocations: 2.281 kB / 0.5845 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.975e-05/0.8784, allocations: 4.688 kB / 0.5845 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.469e-05/0.8785, allocations: 9.703 kB / 0.5845 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.8785, allocations: 0.75 kB / 0.5845 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006643/0.8792, allocations: 162.6 kB / 0.5847 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.8792, allocations: 0 / 0.5847 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.8793, allocations: 28.14 kB / 0.5847 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.8796, allocations: 66.7 kB / 0.5848 GB, free: 2.785 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.8796, allocations: 0 / 0.5848 GB, free: 2.785 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.8797, allocations: 0 / 0.5848 GB, free: 2.785 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.8797, allocations: 1.344 kB / 0.5848 GB, free: 2.785 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.000498/0.8802, allocations: 345.1 kB / 0.5851 GB, free: 2.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.115e-05/0.8803, allocations: 9 kB / 0.5851 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.8803, allocations: 32.06 kB / 0.5852 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006522/0.881, allocations: 37.48 kB / 0.5852 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.8811, allocations: 170 kB / 0.5854 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.8812, allocations: 0 / 0.5854 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.8812, allocations: 1.469 kB / 0.5854 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.8814, allocations: 56 kB / 0.5854 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.8814, allocations: 0 / 0.5854 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.8815, allocations: 0.875 kB / 0.5854 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.8815, allocations: 0 / 0.5854 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.8817, allocations: 26.03 kB / 0.5854 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.8819, allocations: 162.7 kB / 0.5856 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.8821, allocations: 38.31 kB / 0.5856 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.8821, allocations: 6.062 kB / 0.5856 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.8822, allocations: 39.34 kB / 0.5857 GB, free: 1.836 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/0.8822, allocations: 0 / 0.5857 GB, free: 1.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004269/0.8826, allocations: 72.28 kB / 0.5857 GB, free: 1.793 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.8827, allocations: 52.89 kB / 0.5858 GB, free: 1.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.463e-05/0.8827, allocations: 102.5 kB / 0.5859 GB, free: 1.625 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.8828, allocations: 26.7 kB / 0.5859 GB, free: 1.594 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.8828, allocations: 84.84 kB / 0.586 GB, free: 1.508 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.8829, allocations: 5.891 kB / 0.586 GB, free: 1.504 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.8829, allocations: 0 / 0.586 GB, free: 1.504 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.883, allocations: 320.9 kB / 0.5863 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-05/0.8831, allocations: 9.281 kB / 0.5863 GB, free: 1.184 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.071e-05/0.8831, allocations: 17.8 kB / 0.5863 GB, free: 1.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.69e-05/0.8833, allocations: 12.42 kB / 0.5864 GB, free: 1.172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8833, allocations: 0.9688 kB / 0.5864 GB, free: 1.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002534/0.8835, allocations: 60.86 kB / 0.5864 GB, free: 1.133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.8836, allocations: 5.188 kB / 0.5864 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.8836, allocations: 0 / 0.5864 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.8836, allocations: 0.7969 kB / 0.5864 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.8838, allocations: 13.7 kB / 0.5864 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.8838, allocations: 3.984 kB / 0.5864 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.8839, allocations: 2.594 kB / 0.5864 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.8839, allocations: 1.406 kB / 0.5864 GB, free: 1.125 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.731e-05/0.884, allocations: 112.3 kB / 0.5865 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.884, allocations: 4.969 kB / 0.5865 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.8841, allocations: 16.92 kB / 0.5866 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.8841, allocations: 0.7812 kB / 0.5866 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8841, allocations: 0.7031 kB / 0.5866 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.8841, allocations: 0.7812 kB / 0.5866 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.8842, allocations: 162.2 kB / 0.5867 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.8842, allocations: 0.75 kB / 0.5867 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.8844, allocations: 12.05 kB / 0.5867 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.8844, allocations: 0 / 0.5867 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.8844, allocations: 2.5 kB / 0.5867 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.8844, allocations: 0.7812 kB / 0.5867 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8844, allocations: 4.516 kB / 0.5867 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.8847, allocations: 85.14 kB / 0.5868 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.8848, allocations: 81.28 kB / 0.5869 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.8848, allocations: 1.359 kB / 0.5869 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.8849, allocations: 3.281 kB / 0.5869 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.8849, allocations: 5.625 kB / 0.5869 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.885, allocations: 1.703 kB / 0.5869 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.039e-05/0.885, allocations: 79.06 kB / 0.587 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.885, allocations: 0.6875 kB / 0.587 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.8854, allocations: 10.62 kB / 0.587 GB, free: 0.5352 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006726/0.8861, allocations: 0.6463 MB / 0.5876 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.8863, allocations: 27.64 kB / 0.5877 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8863, allocations: 0 / 0.5877 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.8864, allocations: 20.59 kB / 0.5877 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.8867, allocations: 9.109 kB / 0.5877 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006869/0.8874, allocations: 153.4 kB / 0.5878 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.8879, allocations: 0.6776 MB / 0.5885 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.8881, allocations: 10.78 kB / 0.5885 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.8881, allocations: 12.3 kB / 0.5885 GB, free: 15.04 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.8882, allocations: 0 / 0.5885 GB, free: 15.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.9116, allocations: 1.344 MB / 0.5898 GB, free: 14.91 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/0.912, allocations: 191.9 kB / 0.59 GB, free: 14.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.826/3.738, allocations: 0 / 0.59 GB, free: 14.67 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/linux/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) Environment - environmentSimulation: