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.009041/0.009041, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.002972/0.002972, allocations: 193.8 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.768/0.768, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.25 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1522, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002219/0.1544, allocations: 1.262 MB / 0.6604 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1384/0.2928, allocations: 132 MB / 0.7894 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.293, allocations: 0 / 0.7894 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.293, allocations: 0 / 0.7894 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.132e-05/0.2931, allocations: 7.875 kB / 0.7894 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.2935, allocations: 55.72 kB / 0.7894 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.122e-05/0.2936, allocations: 27.81 kB / 0.7895 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.2936, allocations: 7.969 kB / 0.7895 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.78e-05/0.2937, allocations: 8 kB / 0.7895 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.2937, allocations: 11.94 kB / 0.7895 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.2938, allocations: 0 / 0.7895 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 8.39e-05/0.2938, allocations: 15.98 kB / 0.7895 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.2939, allocations: 0 / 0.7895 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.2939, allocations: 8 kB / 0.7895 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.294, allocations: 28.12 kB / 0.7895 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.294, allocations: 0 / 0.7895 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.024e-06/0.294, allocations: 0 / 0.7895 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.2941, allocations: 0 / 0.7895 GB, free: 8.008 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.0004163/0.2945, allocations: 343.3 kB / 0.7899 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.2945, allocations: 12.03 kB / 0.7899 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.2946, allocations: 34.75 kB / 0.7899 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.2946, allocations: 0.9375 kB / 0.7899 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2947, allocations: 168.4 kB / 0.7901 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.362e-05/0.2948, allocations: 30.25 kB / 0.7901 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.2948, allocations: 384 / 0.7901 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.295, allocations: 46 kB / 0.7901 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.295, allocations: 0 / 0.7901 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.295, allocations: 0 / 0.7901 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.295, allocations: 4 kB / 0.7901 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.984e-05/0.2951, allocations: 15.92 kB / 0.7902 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.2953, allocations: 153.6 kB / 0.7903 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 9.581e-05/0.2954, allocations: 30.61 kB / 0.7903 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.2954, allocations: 24.94 kB / 0.7904 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.2956, allocations: 89.11 kB / 0.7904 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.2956, allocations: 38.48 kB / 0.7905 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2956, allocations: 0 / 0.7905 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0002534/0.2959, allocations: 65.56 kB / 0.7905 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.2959, allocations: 51.41 kB / 0.7906 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.296, allocations: 101.8 kB / 0.7907 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.296, allocations: 25.7 kB / 0.7907 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.2961, allocations: 84.14 kB / 0.7908 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.2961, allocations: 7.891 kB / 0.7908 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.2961, allocations: 17.72 kB / 0.7908 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.2962, allocations: 314.8 kB / 0.7911 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.48e-05/0.2963, allocations: 4 kB / 0.7911 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.2963, allocations: 8 kB / 0.7911 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.647e-05/0.2964, allocations: 28.78 kB / 0.7912 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2964, allocations: 4 kB / 0.7912 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001264/0.2966, allocations: 57.61 kB / 0.7912 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2966, allocations: 7.938 kB / 0.7912 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2966, allocations: 0 / 0.7912 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2966, allocations: 0 / 0.7912 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/0.2967, allocations: 4 kB / 0.7912 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.2967, allocations: 0 / 0.7912 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/0.2968, allocations: 7.953 kB / 0.7912 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.2968, allocations: 0 / 0.7912 GB, free: 6.004 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 6.427e-05/0.2968, allocations: 113.8 kB / 0.7913 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.2969, allocations: 7.938 kB / 0.7914 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.297, allocations: 57.12 kB / 0.7914 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.297, allocations: 3.984 kB / 0.7914 GB, free: 5.801 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.297, allocations: 4 kB / 0.7914 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2971, allocations: 4 kB / 0.7914 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.2972, allocations: 149.7 kB / 0.7916 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2972, allocations: 3.984 kB / 0.7916 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.2972, allocations: 8 kB / 0.7916 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2972, allocations: 3.938 kB / 0.7916 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.2972, allocations: 3.938 kB / 0.7916 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2972, allocations: 0 / 0.7916 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2973, allocations: 0 / 0.7916 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.2974, allocations: 73.11 kB / 0.7917 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.2975, allocations: 85.66 kB / 0.7917 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.2975, allocations: 0 / 0.7917 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.206e-05/0.2975, allocations: 8 kB / 0.7917 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.2975, allocations: 11.92 kB / 0.7918 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.2976, allocations: 0 / 0.7918 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 3.168e-05/0.2976, allocations: 79.27 kB / 0.7918 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2976, allocations: 0 / 0.7918 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001938/0.2978, allocations: 15.94 kB / 0.7918 GB, free: 5.273 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.0004208/0.2982, allocations: 0.6272 MB / 0.7925 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001356/0.2984, allocations: 23.92 kB / 0.7925 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2984, allocations: 0 / 0.7925 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.735e-05/0.2984, allocations: 8 kB / 0.7925 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.2987, allocations: 11.98 kB / 0.7925 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.2991, allocations: 157.3 kB / 0.7926 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.2993, allocations: 0.6806 MB / 0.7933 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.289e-05/0.2993, allocations: 0 / 0.7933 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.2993, allocations: 11.44 kB / 0.7933 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.2993, allocations: 7.938 kB / 0.7933 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.3155, allocations: 1.355 MB / 0.7947 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/7.847, allocations: 8.25 kB / 0.7947 GB, free: 2.434 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)