Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_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.005983/0.005983, allocations: 98.92 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.001207/0.001207, allocations: 202.2 kB / 16.68 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7554/0.7554, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 62.08 kB / 0.5808 GB, free: 1.148 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1543, allocations: 80.21 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002423/0.1567, allocations: 1.482 MB / 0.6606 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1357/0.2925, allocations: 132.1 MB / 0.7896 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/0.2926, allocations: 4 kB / 0.7896 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 5.522e-05/0.2927, allocations: 7.938 kB / 0.7896 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.728e-05/0.2928, allocations: 7.875 kB / 0.7896 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.2933, allocations: 64 kB / 0.7897 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.2935, allocations: 55.78 kB / 0.7897 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.2936, allocations: 15.92 kB / 0.7898 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 8.889e-05/0.2937, allocations: 23.92 kB / 0.7898 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.2938, allocations: 31.84 kB / 0.7898 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.2938, allocations: 4 kB / 0.7898 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 9.941e-05/0.2939, allocations: 16 kB / 0.7898 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.2939, allocations: 7.984 kB / 0.7898 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.294, allocations: 27.86 kB / 0.7899 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.2942, allocations: 55.75 kB / 0.7899 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2942, allocations: 0 / 0.7899 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.857e-06/0.2942, allocations: 4 kB / 0.7899 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2942, allocations: 3.938 kB / 0.7899 GB, free: 7.645 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006157/0.2948, allocations: 379.2 kB / 0.7903 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.2949, allocations: 12.03 kB / 0.7903 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.2949, allocations: 34.69 kB / 0.7903 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.295, allocations: 8.891 kB / 0.7903 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.2952, allocations: 168.4 kB / 0.7905 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.2953, allocations: 384 / 0.7905 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.2953, allocations: 4.375 kB / 0.7905 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.2956, allocations: 74.22 kB / 0.7906 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2956, allocations: 3.938 kB / 0.7906 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2956, allocations: 7.984 kB / 0.7906 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2956, allocations: 0 / 0.7906 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.2959, allocations: 63.88 kB / 0.7906 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.2964, allocations: 288.8 kB / 0.7909 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.2966, allocations: 58.53 kB / 0.791 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.2968, allocations: 36.92 kB / 0.791 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.297, allocations: 89.09 kB / 0.7911 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.2971, allocations: 42.5 kB / 0.7911 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.2971, allocations: 0 / 0.7911 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0005825/0.2977, allocations: 129.5 kB / 0.7913 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.2977, allocations: 51.41 kB / 0.7913 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.2979, allocations: 124.2 kB / 0.7914 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.2979, allocations: 25.7 kB / 0.7915 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.298, allocations: 96 kB / 0.7915 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.2981, allocations: 11.91 kB / 0.7916 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.2981, allocations: 13.72 kB / 0.7916 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2983, allocations: 326.8 kB / 0.7919 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.2985, allocations: 23.97 kB / 0.7919 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.2986, allocations: 43.89 kB / 0.7919 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.2989, allocations: 61.08 kB / 0.792 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2989, allocations: 0 / 0.792 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003521/0.2993, allocations: 113.6 kB / 0.7921 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.2993, allocations: 6.188 kB / 0.7921 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2993, allocations: 4 kB / 0.7921 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.2993, allocations: 0 / 0.7921 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.2995, allocations: 15.98 kB / 0.7921 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2995, allocations: 0 / 0.7921 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.724e-05/0.2996, allocations: 15.94 kB / 0.7921 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.2996, allocations: 7.938 kB / 0.7922 GB, free: 5.102 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 0.0001239/0.2997, allocations: 125.7 kB / 0.7923 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.2998, allocations: 0 / 0.7923 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.3002, allocations: 101.5 kB / 0.7924 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3002, allocations: 0 / 0.7924 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3002, allocations: 0 / 0.7924 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3002, allocations: 4 kB / 0.7924 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.3004, allocations: 177.6 kB / 0.7925 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3004, allocations: 0 / 0.7925 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.83e-05/0.3005, allocations: 15.98 kB / 0.7926 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3006, allocations: 4 kB / 0.7926 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3006, allocations: 0 / 0.7926 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3006, allocations: 0 / 0.7926 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3006, allocations: 0 / 0.7926 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.301, allocations: 203.3 kB / 0.7928 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.301, allocations: 85.06 kB / 0.7928 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.3011, allocations: 0 / 0.7928 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3012, allocations: 15.98 kB / 0.7929 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.3012, allocations: 3.984 kB / 0.7929 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.3012, allocations: 0 / 0.7929 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.745e-05/0.3013, allocations: 103.2 kB / 0.793 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3013, allocations: 0 / 0.793 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002307/0.3015, allocations: 19.94 kB / 0.793 GB, free: 4.148 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.0007486/0.3023, allocations: 0.7396 MB / 0.7937 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.3027, allocations: 63.92 kB / 0.7938 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3027, allocations: 0 / 0.7938 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.3028, allocations: 39.95 kB / 0.7938 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.3032, allocations: 8 kB / 0.7938 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.3053, allocations: 1.438 MB / 0.7952 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.3056, allocations: 0.6807 MB / 0.7959 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.006e-05/0.3056, allocations: 7.984 kB / 0.7959 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.3057, allocations: 15.61 kB / 0.7959 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.3057, allocations: 3.938 kB / 0.7959 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.3252, allocations: 2.055 MB / 0.7979 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/7.909, allocations: 8 kB / 0.7979 GB, free: 15.09 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.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_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)