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.008194/0.008194, allocations: 99.7 kB / 15.73 MB, free: 6.043 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.001796/0.001796, allocations: 197.7 kB / 16.67 MB, free: 5.977 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.765/0.765, allocations: 132.2 MB / 422.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00243/0.002431, allocations: 63.91 kB / 0.5809 GB, free: 7.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4656, allocations: 80.21 MB / 0.6592 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002016/0.4677, allocations: 1.275 MB / 0.6604 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1349/0.6026, allocations: 132 MB / 0.7894 GB, free: 372 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.6027, allocations: 4 kB / 0.7894 GB, free: 368 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.6027, allocations: 0 / 0.7894 GB, free: 368 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-05/0.6028, allocations: 3.938 kB / 0.7894 GB, free: 364 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.6032, allocations: 55.72 kB / 0.7894 GB, free: 308 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.377e-05/0.6033, allocations: 27.86 kB / 0.7894 GB, free: 280 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.6033, allocations: 3.984 kB / 0.7895 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/0.6034, allocations: 4 kB / 0.7895 GB, free: 272 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.564e-05/0.6035, allocations: 11.83 kB / 0.7895 GB, free: 264 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.6035, allocations: 4 kB / 0.7895 GB, free: 260 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.403e-05/0.6035, allocations: 11.98 kB / 0.7895 GB, free: 248 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.6036, allocations: 8 kB / 0.7895 GB, free: 240 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.6036, allocations: 11.92 kB / 0.7895 GB, free: 228 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.6037, allocations: 30.22 kB / 0.7895 GB, free: 200 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6037, allocations: 0 / 0.7895 GB, free: 200 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6037, allocations: 0 / 0.7895 GB, free: 200 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.6037, allocations: 0 / 0.7895 GB, free: 200 kB / 0.6075 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.0004494/0.6042, allocations: 331.5 kB / 0.7898 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.6043, allocations: 8.031 kB / 0.7899 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.329e-05/0.6043, allocations: 38.69 kB / 0.7899 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.6043, allocations: 8.844 kB / 0.7899 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.6045, allocations: 164.3 kB / 0.7901 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.151e-05/0.6046, allocations: 34.25 kB / 0.7901 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.6046, allocations: 4.312 kB / 0.7901 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.6047, allocations: 45.81 kB / 0.7901 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.6047, allocations: 0 / 0.7901 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.6047, allocations: 0 / 0.7901 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.6047, allocations: 0 / 0.7901 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.917e-05/0.6048, allocations: 11.98 kB / 0.7901 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.605, allocations: 157.7 kB / 0.7903 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 8.589e-05/0.6051, allocations: 30.5 kB / 0.7903 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.6051, allocations: 20.94 kB / 0.7903 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.6053, allocations: 89.09 kB / 0.7904 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.6053, allocations: 38.5 kB / 0.7905 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.6053, allocations: 0 / 0.7905 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0002241/0.6056, allocations: 57.61 kB / 0.7905 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.6056, allocations: 59.41 kB / 0.7906 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.04e-05/0.6057, allocations: 97.84 kB / 0.7907 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.6057, allocations: 25.7 kB / 0.7907 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.6058, allocations: 80.14 kB / 0.7908 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.6058, allocations: 15.75 kB / 0.7908 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.6058, allocations: 17.72 kB / 0.7908 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.606, allocations: 314.8 kB / 0.7911 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-05/0.606, allocations: 8 kB / 0.7911 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.68e-05/0.606, allocations: 7.984 kB / 0.7911 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.846e-05/0.6061, allocations: 24.86 kB / 0.7911 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6061, allocations: 0 / 0.7911 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001116/0.6063, allocations: 57.55 kB / 0.7912 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.6063, allocations: 12 kB / 0.7912 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.6063, allocations: 0 / 0.7912 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.6063, allocations: 0 / 0.7912 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.6064, allocations: 4 kB / 0.7912 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.6064, allocations: 0 / 0.7912 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.6064, allocations: 4 kB / 0.7912 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.6064, allocations: 3.984 kB / 0.7912 GB, free: 14.2 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 7.379e-05/0.6065, allocations: 105.8 kB / 0.7913 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.6065, allocations: 7.938 kB / 0.7913 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.6067, allocations: 65.11 kB / 0.7914 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.6067, allocations: 0 / 0.7914 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.6067, allocations: 3.938 kB / 0.7914 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.6067, allocations: 0 / 0.7914 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.6068, allocations: 153.7 kB / 0.7915 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.6068, allocations: 4 kB / 0.7916 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.6069, allocations: 7.938 kB / 0.7916 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6069, allocations: 0 / 0.7916 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.6069, allocations: 3.938 kB / 0.7916 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6069, allocations: 4 kB / 0.7916 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6069, allocations: 0 / 0.7916 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.6071, allocations: 81.58 kB / 0.7916 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.6071, allocations: 85.05 kB / 0.7917 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.6071, allocations: 0 / 0.7917 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.783e-05/0.6072, allocations: 0 / 0.7917 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.6072, allocations: 3.984 kB / 0.7917 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.6072, allocations: 4 kB / 0.7917 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 3.17e-05/0.6072, allocations: 83.31 kB / 0.7918 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6072, allocations: 3.938 kB / 0.7918 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001929/0.6074, allocations: 16 kB / 0.7918 GB, free: 13.47 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.0003943/0.6078, allocations: 0.6163 MB / 0.7924 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.608, allocations: 23.98 kB / 0.7925 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.608, allocations: 0 / 0.7925 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.584e-05/0.6081, allocations: 15.94 kB / 0.7925 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.6083, allocations: 9.547 kB / 0.7925 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.6087, allocations: 157.3 kB / 0.7926 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.6089, allocations: 0.6807 MB / 0.7933 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.609, allocations: 0 / 0.7933 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.609, allocations: 11.44 kB / 0.7933 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.609, allocations: 0 / 0.7933 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.6254, allocations: 1.367 MB / 0.7946 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/8.214, allocations: 14.03 kB / 0.7947 GB, free: 10.63 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)