Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.0008204/0.0008204, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00523/0.00523, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7359/0.7359, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003968, allocations: 8 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.4859, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001729/0.4877, allocations: 1.136 MB / 0.5848 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005001/0.4882, allocations: 198.4 kB / 0.585 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.4882, allocations: 0.9062 kB / 0.585 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.4883, allocations: 1.375 kB / 0.585 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.678e-05/0.4883, allocations: 10.62 kB / 0.585 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.4885, allocations: 16.89 kB / 0.5851 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.929e-05/0.4886, allocations: 22.78 kB / 0.5851 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.4887, allocations: 11.61 kB / 0.5851 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.55e-05/0.4888, allocations: 5.25 kB / 0.5851 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.4888, allocations: 9.938 kB / 0.5851 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.4888, allocations: 2.094 kB / 0.5851 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.369e-05/0.4889, allocations: 27.84 kB / 0.5851 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.489, allocations: 6.297 kB / 0.5851 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.489, allocations: 33.72 kB / 0.5852 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.4891, allocations: 37.25 kB / 0.5852 GB, free: 3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4891, allocations: 0 / 0.5852 GB, free: 3 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4891, allocations: 0.625 kB / 0.5852 GB, free: 3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.4892, allocations: 1.031 kB / 0.5852 GB, free: 3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004008/0.4896, allocations: 346 kB / 0.5855 GB, free: 2.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.4896, allocations: 12.14 kB / 0.5856 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.4897, allocations: 31.45 kB / 0.5856 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.4898, allocations: 9.547 kB / 0.5856 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.863e-05/0.4899, allocations: 169.7 kB / 0.5858 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.4899, allocations: 6.312 kB / 0.5858 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.4899, allocations: 4.375 kB / 0.5858 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.4901, allocations: 51.55 kB / 0.5858 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4901, allocations: 3.938 kB / 0.5858 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4901, allocations: 4 kB / 0.5858 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.4901, allocations: 1.281 kB / 0.5858 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.4903, allocations: 46.17 kB / 0.5859 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.4906, allocations: 247.5 kB / 0.5861 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.4908, allocations: 53.02 kB / 0.5862 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.4909, allocations: 33.56 kB / 0.5862 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.4909, allocations: 0 / 0.5862 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.4909, allocations: 32.09 kB / 0.5862 GB, free: 1.969 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4909, allocations: 5.094 kB / 0.5862 GB, free: 1.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004132/0.4914, allocations: 98.39 kB / 0.5863 GB, free: 1.922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.4914, allocations: 55.53 kB / 0.5864 GB, free: 1.855 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.4915, allocations: 101.8 kB / 0.5865 GB, free: 1.754 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.4915, allocations: 26.22 kB / 0.5865 GB, free: 1.723 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.945e-05/0.4915, allocations: 86.02 kB / 0.5866 GB, free: 1.637 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.4915, allocations: 5.734 kB / 0.5866 GB, free: 1.633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.4916, allocations: 14.28 kB / 0.5866 GB, free: 1.613 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.4916, allocations: 312.6 kB / 0.5869 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.842e-05/0.4917, allocations: 23.83 kB / 0.5869 GB, free: 1.297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.515e-05/0.4918, allocations: 22.98 kB / 0.5869 GB, free: 1.293 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.492, allocations: 50.38 kB / 0.587 GB, free: 1.277 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.492, allocations: 4.688 kB / 0.587 GB, free: 1.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002169/0.4922, allocations: 77.55 kB / 0.5871 GB, free: 1.234 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4923, allocations: 7.062 kB / 0.5871 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.4923, allocations: 4.031 kB / 0.5871 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.4923, allocations: 2.203 kB / 0.5871 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.4924, allocations: 10.53 kB / 0.5871 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4924, allocations: 0 / 0.5871 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.4925, allocations: 13.03 kB / 0.5871 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.4925, allocations: 1.406 kB / 0.5871 GB, free: 1.227 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.939e-05/0.4926, allocations: 115.5 kB / 0.5872 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.4926, allocations: 6.578 kB / 0.5872 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.4929, allocations: 84 kB / 0.5873 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4929, allocations: 0.875 kB / 0.5873 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4929, allocations: 1.344 kB / 0.5873 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4929, allocations: 8.453 kB / 0.5873 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.4931, allocations: 164.1 kB / 0.5875 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4931, allocations: 4.5 kB / 0.5875 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.761e-05/0.4931, allocations: 12.88 kB / 0.5875 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4932, allocations: 1.484 kB / 0.5875 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.4932, allocations: 0 / 0.5875 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4932, allocations: 1.094 kB / 0.5875 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4932, allocations: 0 / 0.5875 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.4934, allocations: 184.6 kB / 0.5877 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.4935, allocations: 79.06 kB / 0.5877 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.4935, allocations: 1.25 kB / 0.5877 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/0.4936, allocations: 16.44 kB / 0.5877 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.4936, allocations: 3.797 kB / 0.5878 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.4937, allocations: 0.5625 kB / 0.5878 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.722e-05/0.4937, allocations: 80.5 kB / 0.5878 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.22e-07/0.4937, allocations: 3.938 kB / 0.5878 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.4939, allocations: 8.375 kB / 0.5878 GB, free: 0.5156 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 (3): * Single equations (assignments): 3 * 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.0004961/0.4944, allocations: 0.7106 MB / 0.5885 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.4947, allocations: 50.59 kB / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4947, allocations: 0 / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.4948, allocations: 30.64 kB / 0.5886 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.4951, allocations: 4 kB / 0.5886 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.4956, allocations: 162.5 kB / 0.5888 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.4959, allocations: 0.6762 MB / 0.5894 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.271e-05/0.496, allocations: 2.125 kB / 0.5894 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.496, allocations: 13.62 kB / 0.5894 GB, free: 14.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.496, allocations: 0 / 0.5894 GB, free: 14.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1441/0.6401, allocations: 1.091 MB / 0.5905 GB, free: 14.84 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.6404, allocations: 217.2 kB / 0.5907 GB, free: 14.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.654, allocations: 0 / 0.5907 GB, free: 14.58 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)