Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.007812/0.007812, allocations: 102 kB / 15.73 MB, free: 6.051 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.001786/0.001786, allocations: 195 kB / 16.68 MB, free: 5.969 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7738/0.7738, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.83 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1477, allocations: 80.22 MB / 0.6592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002221/0.1499, allocations: 1.266 MB / 0.6604 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1416/0.2916, allocations: 132 MB / 0.7894 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.692e-05/0.2917, allocations: 0 / 0.7894 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.2917, allocations: 0 / 0.7894 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.178e-05/0.2918, allocations: 7.922 kB / 0.7894 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.2922, allocations: 55.73 kB / 0.7894 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.664e-05/0.2923, allocations: 27.8 kB / 0.7895 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.2923, allocations: 0 / 0.7895 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.2924, allocations: 15.98 kB / 0.7895 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.2925, allocations: 8 kB / 0.7895 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.2925, allocations: 3.938 kB / 0.7895 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 8.134e-05/0.2926, allocations: 15.98 kB / 0.7895 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.2926, allocations: 0 / 0.7895 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.2926, allocations: 7.984 kB / 0.7895 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.2928, allocations: 26.73 kB / 0.7895 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2928, allocations: 0 / 0.7895 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2928, allocations: 0 / 0.7895 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.2928, allocations: 3.984 kB / 0.7895 GB, free: 7.98 MB / 0.6231 GB 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.0004978/0.2933, allocations: 336.4 kB / 0.7899 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.2934, allocations: 12.03 kB / 0.7899 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.2934, allocations: 30.75 kB / 0.7899 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.2935, allocations: 0.9375 kB / 0.7899 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.2936, allocations: 172.2 kB / 0.7901 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-05/0.2937, allocations: 34.2 kB / 0.7901 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.2937, allocations: 4.375 kB / 0.7901 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.2939, allocations: 38 kB / 0.7901 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2939, allocations: 3.984 kB / 0.7901 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.2939, allocations: 4 kB / 0.7901 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2939, allocations: 0 / 0.7901 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.184e-05/0.294, allocations: 12 kB / 0.7901 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.2942, allocations: 153.7 kB / 0.7903 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.2943, allocations: 34.55 kB / 0.7903 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.289e-05/0.2944, allocations: 20.8 kB / 0.7903 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.2946, allocations: 93.19 kB / 0.7904 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.2947, allocations: 38.5 kB / 0.7905 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2947, allocations: 0 / 0.7905 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0002666/0.2949, allocations: 57.67 kB / 0.7905 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.295, allocations: 55.34 kB / 0.7906 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.2951, allocations: 98.03 kB / 0.7907 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.2951, allocations: 33.7 kB / 0.7907 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.2952, allocations: 80.14 kB / 0.7908 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.2952, allocations: 3.906 kB / 0.7908 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.2953, allocations: 13.72 kB / 0.7908 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2954, allocations: 314.8 kB / 0.7911 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.79e-05/0.2954, allocations: 7.984 kB / 0.7911 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.755e-05/0.2955, allocations: 4.188 kB / 0.7911 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.2956, allocations: 32.92 kB / 0.7911 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2956, allocations: 0 / 0.7911 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001481/0.2958, allocations: 53.59 kB / 0.7912 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.2958, allocations: 11.92 kB / 0.7912 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2958, allocations: 3.938 kB / 0.7912 GB, free: 6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2958, allocations: 0 / 0.7912 GB, free: 6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.2959, allocations: 4 kB / 0.7912 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.2959, allocations: 0 / 0.7912 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.296, allocations: 4 kB / 0.7912 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.296, allocations: 0 / 0.7912 GB, free: 5.992 MB / 0.6231 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 (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 prepare postOptimizeDAE: time 9.525e-05/0.2961, allocations: 117.8 kB / 0.7913 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.2961, allocations: 3.938 kB / 0.7913 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.2963, allocations: 53.17 kB / 0.7914 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2963, allocations: 0 / 0.7914 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.2963, allocations: 4 kB / 0.7914 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2963, allocations: 0 / 0.7914 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.2965, allocations: 157.6 kB / 0.7915 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2965, allocations: 4 kB / 0.7915 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.2965, allocations: 15.92 kB / 0.7916 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.2965, allocations: 7.875 kB / 0.7916 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2965, allocations: 0 / 0.7916 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2966, allocations: 0 / 0.7916 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2966, allocations: 3.938 kB / 0.7916 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.2967, allocations: 73.12 kB / 0.7916 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.2968, allocations: 92.94 kB / 0.7917 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.2968, allocations: 4 kB / 0.7917 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.703e-05/0.2969, allocations: 0 / 0.7917 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.2969, allocations: 4 kB / 0.7917 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.2969, allocations: 3.984 kB / 0.7917 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.297, allocations: 79.28 kB / 0.7918 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.297, allocations: 0 / 0.7918 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001936/0.2972, allocations: 12 kB / 0.7918 GB, free: 5.258 MB / 0.6231 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 (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.0004649/0.2977, allocations: 0.628 MB / 0.7924 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.2978, allocations: 24.3 kB / 0.7925 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2978, allocations: 0 / 0.7925 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.987e-05/0.2979, allocations: 12.03 kB / 0.7925 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.2981, allocations: 10.39 kB / 0.7925 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.2985, allocations: 161.4 kB / 0.7926 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.2988, allocations: 0.6806 MB / 0.7933 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.682e-05/0.2988, allocations: 4 kB / 0.7933 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.2988, allocations: 11.44 kB / 0.7933 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.2988, allocations: 0 / 0.7933 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.3178, allocations: 1.35 MB / 0.7946 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.051, allocations: 22.53 kB / 0.7947 GB, free: 2.406 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)