Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_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.00101/0.00101, allocations: 91.84 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.007747/0.007747, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.386/1.386, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7577/0.7577, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 12.5 kB / 0.5041 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4754/0.4757, allocations: 81.57 MB / 0.5837 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001935/0.4777, allocations: 1.138 MB / 0.5849 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.4789, allocations: 0.5986 MB / 0.5854 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.4789, allocations: 2.5 kB / 0.5854 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.479, allocations: 0.75 kB / 0.5854 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.313e-05/0.479, allocations: 4.656 kB / 0.5854 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.4795, allocations: 83.11 kB / 0.5855 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.854e-05/0.4796, allocations: 24.78 kB / 0.5855 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.064e-05/0.4797, allocations: 8.078 kB / 0.5856 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.4797, allocations: 5.562 kB / 0.5856 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.062e-05/0.4798, allocations: 13.67 kB / 0.5856 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.4798, allocations: 1 kB / 0.5856 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.4802, allocations: 153.9 kB / 0.5857 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.4803, allocations: 5.953 kB / 0.5857 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.4803, allocations: 33.28 kB / 0.5858 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.4806, allocations: 96.41 kB / 0.5859 GB, free: 2.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4806, allocations: 3.938 kB / 0.5859 GB, free: 2.477 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4806, allocations: 1.312 kB / 0.5859 GB, free: 2.477 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.4806, allocations: 0 / 0.5859 GB, free: 2.477 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.0004562/0.4811, allocations: 367 kB / 0.5862 GB, free: 2.098 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4811, allocations: 9.141 kB / 0.5862 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.4812, allocations: 31.27 kB / 0.5862 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000526/0.4817, allocations: 27.17 kB / 0.5863 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.61e-05/0.4818, allocations: 166.8 kB / 0.5864 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.4818, allocations: 5.062 kB / 0.5864 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.4819, allocations: 2.828 kB / 0.5864 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.4822, allocations: 71.33 kB / 0.5865 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.4822, allocations: 3.938 kB / 0.5865 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.4822, allocations: 0.75 kB / 0.5865 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4822, allocations: 5.188 kB / 0.5865 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.4826, allocations: 68.19 kB / 0.5866 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.4831, allocations: 276.6 kB / 0.5868 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.4834, allocations: 67.16 kB / 0.5869 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.4836, allocations: 36.48 kB / 0.5869 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.4836, allocations: 4.812 kB / 0.5869 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.4836, allocations: 32.58 kB / 0.587 GB, free: 1.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.4836, allocations: 0 / 0.587 GB, free: 1.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006841/0.4843, allocations: 134.3 kB / 0.5871 GB, free: 1.359 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.4844, allocations: 52.38 kB / 0.5872 GB, free: 1.297 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.565e-05/0.4845, allocations: 100.6 kB / 0.5873 GB, free: 1.195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.4845, allocations: 31.39 kB / 0.5873 GB, free: 1.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.4845, allocations: 80.92 kB / 0.5874 GB, free: 1.078 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.4845, allocations: 14.39 kB / 0.5874 GB, free: 1.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.4846, allocations: 10.33 kB / 0.5874 GB, free: 1.051 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.885e-05/0.4846, allocations: 316.8 kB / 0.5877 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.4848, allocations: 31.36 kB / 0.5877 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.485, allocations: 33.28 kB / 0.5877 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.4854, allocations: 73.7 kB / 0.5878 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4854, allocations: 3.938 kB / 0.5878 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00042/0.4858, allocations: 96.28 kB / 0.5879 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4859, allocations: 6.016 kB / 0.5879 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4859, allocations: 1.219 kB / 0.5879 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4859, allocations: 0 / 0.5879 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.4861, allocations: 15.66 kB / 0.5879 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4861, allocations: 1.672 kB / 0.5879 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.4862, allocations: 9.719 kB / 0.5879 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.4862, allocations: 6.203 kB / 0.588 GB, free: 0.6484 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 6.561e-05/0.4863, allocations: 117.1 kB / 0.5881 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.4864, allocations: 5.344 kB / 0.5881 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.4864, allocations: 4.828 kB / 0.5881 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4864, allocations: 0 / 0.5881 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4864, allocations: 2.047 kB / 0.5881 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4864, allocations: 0 / 0.5881 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.4866, allocations: 171.8 kB / 0.5882 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4866, allocations: 5.031 kB / 0.5882 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.4868, allocations: 23.89 kB / 0.5883 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4868, allocations: 5 kB / 0.5883 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4868, allocations: 1.453 kB / 0.5883 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4868, allocations: 0.8438 kB / 0.5883 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4868, allocations: 0 / 0.5883 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.4872, allocations: 198.1 kB / 0.5885 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.4873, allocations: 82.59 kB / 0.5885 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.4873, allocations: 0.7188 kB / 0.5885 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.4875, allocations: 14.41 kB / 0.5886 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.4875, allocations: 3.422 kB / 0.5886 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.4875, allocations: 1.891 kB / 0.5886 GB, free: 52 kB / 430.1 MB Notification: Performance of sorting global known variables: time 6.735e-05/0.4876, allocations: 84 kB / 0.5886 GB, free: 15.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4876, allocations: 0 / 0.5886 GB, free: 15.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000371/0.488, allocations: 15.98 kB / 0.5887 GB, free: 15.97 MB / 446.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.0009638/0.489, allocations: 0.7381 MB / 0.5894 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004471/0.4894, allocations: 66.08 kB / 0.5894 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4895, allocations: 4.062 kB / 0.5894 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.4897, allocations: 38.08 kB / 0.5895 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.4901, allocations: 4.859 kB / 0.5895 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/0.4909, allocations: 181.8 kB / 0.5897 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.4912, allocations: 0.6766 MB / 0.5903 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.4913, allocations: 11.83 kB / 0.5903 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.4914, allocations: 14.69 kB / 0.5903 GB, free: 14.39 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4914, allocations: 1.156 kB / 0.5903 GB, free: 14.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.5076, allocations: 1.39 MB / 0.5917 GB, free: 14.25 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003401/0.508, allocations: 203.4 kB / 0.5919 GB, free: 13.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.094/2.602, allocations: 3.938 kB / 0.5919 GB, free: 13.99 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)