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.007997/0.007998, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001867/0.001867, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.534/1.534, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8496/0.8496, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 70.91 kB / 0.5808 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1598, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002665/0.1625, allocations: 1.479 MB / 0.6606 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5067/0.6693, allocations: 132.1 MB / 0.7896 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.6694, allocations: 0 / 0.7896 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.6695, allocations: 5.141 kB / 0.7896 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.6696, allocations: 15.64 kB / 0.7896 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.67, allocations: 69.05 kB / 0.7897 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.829e-05/0.6701, allocations: 54.11 kB / 0.7897 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.655e-05/0.6702, allocations: 16.2 kB / 0.7897 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.6703, allocations: 20.73 kB / 0.7898 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.216e-05/0.6703, allocations: 30.67 kB / 0.7898 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.6703, allocations: 6.75 kB / 0.7898 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.234e-05/0.6704, allocations: 16.34 kB / 0.7898 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.6705, allocations: 12.12 kB / 0.7898 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.6705, allocations: 20.28 kB / 0.7898 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.6706, allocations: 57.61 kB / 0.7899 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6706, allocations: 1.688 kB / 0.7899 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6707, allocations: 4 kB / 0.7899 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.6707, allocations: 0 / 0.7899 GB, free: 13.11 MB / 0.5919 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.0005423/0.6712, allocations: 374.5 kB / 0.7903 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.6713, allocations: 11.88 kB / 0.7903 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.6713, allocations: 35.5 kB / 0.7903 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.6713, allocations: 7.734 kB / 0.7903 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.6715, allocations: 173.4 kB / 0.7905 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.6715, allocations: 1.531 kB / 0.7905 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.6715, allocations: 6.875 kB / 0.7905 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.6718, allocations: 78.44 kB / 0.7906 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.6718, allocations: 3.938 kB / 0.7906 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.6718, allocations: 1.156 kB / 0.7906 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6718, allocations: 0.9688 kB / 0.7906 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.6721, allocations: 76.86 kB / 0.7906 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.6725, allocations: 286.7 kB / 0.7909 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.6727, allocations: 53.92 kB / 0.791 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.6729, allocations: 41.67 kB / 0.791 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/0.6731, allocations: 91.55 kB / 0.7911 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.6731, allocations: 34.28 kB / 0.7911 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.6732, allocations: 3.938 kB / 0.7911 GB, free: 12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005788/0.6737, allocations: 134.5 kB / 0.7913 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.6738, allocations: 55.94 kB / 0.7913 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.6739, allocations: 114.7 kB / 0.7914 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.6739, allocations: 26.95 kB / 0.7914 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.674, allocations: 92.42 kB / 0.7915 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.674, allocations: 16.56 kB / 0.7916 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.6741, allocations: 14.11 kB / 0.7916 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6742, allocations: 329.8 kB / 0.7919 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.6744, allocations: 31.16 kB / 0.7919 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.6745, allocations: 29.89 kB / 0.7919 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.6748, allocations: 70.14 kB / 0.792 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6748, allocations: 0.9688 kB / 0.792 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003319/0.6751, allocations: 100.6 kB / 0.7921 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6752, allocations: 6.969 kB / 0.7921 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6752, allocations: 0 / 0.7921 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6752, allocations: 1.25 kB / 0.7921 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.6753, allocations: 16.78 kB / 0.7921 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.6753, allocations: 4 kB / 0.7921 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.6754, allocations: 15.97 kB / 0.7921 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.6754, allocations: 1.438 kB / 0.7921 GB, free: 11.28 MB / 0.5919 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 8.792e-05/0.6755, allocations: 115.7 kB / 0.7923 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.6756, allocations: 2.125 kB / 0.7923 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.6759, allocations: 113.1 kB / 0.7924 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.676, allocations: 1.062 kB / 0.7924 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.676, allocations: 0 / 0.7924 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.676, allocations: 3.719 kB / 0.7924 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.6762, allocations: 175.4 kB / 0.7925 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6762, allocations: 0.875 kB / 0.7925 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.53e-05/0.6763, allocations: 16.36 kB / 0.7926 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.6763, allocations: 1.219 kB / 0.7926 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.6763, allocations: 0 / 0.7926 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6763, allocations: 5.281 kB / 0.7926 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6763, allocations: 3.938 kB / 0.7926 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.6767, allocations: 203.5 kB / 0.7928 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.6768, allocations: 86.12 kB / 0.7928 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.6768, allocations: 1.812 kB / 0.7928 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.6769, allocations: 18.73 kB / 0.7929 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.677, allocations: 3.281 kB / 0.7929 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.677, allocations: 1.281 kB / 0.7929 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.062e-05/0.6771, allocations: 94.77 kB / 0.793 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6771, allocations: 0 / 0.793 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002436/0.6773, allocations: 19.25 kB / 0.793 GB, free: 10.58 MB / 0.5919 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.0007191/0.678, allocations: 0.7308 MB / 0.7937 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.6784, allocations: 79.59 kB / 0.7938 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.6784, allocations: 0 / 0.7938 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.6786, allocations: 33.83 kB / 0.7938 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.6789, allocations: 16.34 kB / 0.7938 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.6808, allocations: 1.424 MB / 0.7952 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.6811, allocations: 0.6815 MB / 0.7959 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.105e-05/0.6811, allocations: 8.547 kB / 0.7959 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.6812, allocations: 13.34 kB / 0.7959 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.6812, allocations: 0 / 0.7959 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.7043, allocations: 2.07 MB / 0.7979 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.778, allocations: 6.109 kB / 0.7979 GB, free: 7.629 MB / 0.5919 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)