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.001291/0.001291, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.446/1.446, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7776/0.7776, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 67.98 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4501/0.4517, allocations: 80.19 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002314/0.454, allocations: 1.273 MB / 0.5814 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1547/0.6088, allocations: 132 MB / 0.7104 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.6089, allocations: 0 / 0.7104 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.609, allocations: 7.984 kB / 0.7104 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.847e-05/0.6091, allocations: 3.938 kB / 0.7104 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.6096, allocations: 51.73 kB / 0.7104 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.6097, allocations: 27.86 kB / 0.7105 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.64e-05/0.6098, allocations: 0 / 0.7105 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.015e-05/0.6099, allocations: 19.81 kB / 0.7105 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.37e-05/0.61, allocations: 7.984 kB / 0.7105 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.61, allocations: 0 / 0.7105 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.6101, allocations: 12 kB / 0.7105 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.6101, allocations: 3.984 kB / 0.7105 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.6102, allocations: 11.94 kB / 0.7105 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.6103, allocations: 30.05 kB / 0.7105 GB, free: 11.6 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6104, allocations: 0 / 0.7105 GB, free: 11.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6104, allocations: 0 / 0.7105 GB, free: 11.6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.423e-06/0.6104, allocations: 0 / 0.7105 GB, free: 11.6 MB / 0.545 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.0005596/0.6109, allocations: 335.4 kB / 0.7109 GB, free: 11.22 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.611, allocations: 15.97 kB / 0.7109 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.6111, allocations: 30.75 kB / 0.7109 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.6111, allocations: 0.9375 kB / 0.7109 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.6113, allocations: 168.4 kB / 0.7111 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.6114, allocations: 34.27 kB / 0.7111 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.6114, allocations: 384 / 0.7111 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.6116, allocations: 45.98 kB / 0.7111 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6116, allocations: 0 / 0.7111 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.6116, allocations: 0 / 0.7111 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.6116, allocations: 0 / 0.7111 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.782e-05/0.6118, allocations: 15.98 kB / 0.7112 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.612, allocations: 165.6 kB / 0.7113 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.6121, allocations: 30.58 kB / 0.7113 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.6122, allocations: 16.94 kB / 0.7114 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.6124, allocations: 89.09 kB / 0.7114 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.6124, allocations: 34.5 kB / 0.7115 GB, free: 10.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.6124, allocations: 4 kB / 0.7115 GB, free: 10.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000271/0.6127, allocations: 69.52 kB / 0.7115 GB, free: 10.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.6127, allocations: 51.41 kB / 0.7116 GB, free: 10.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.329e-05/0.6128, allocations: 97.8 kB / 0.7117 GB, free: 10.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.6129, allocations: 25.7 kB / 0.7117 GB, free: 10.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.6129, allocations: 80.14 kB / 0.7118 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.6129, allocations: 11.84 kB / 0.7118 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.613, allocations: 21.7 kB / 0.7118 GB, free: 10.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6131, allocations: 314.8 kB / 0.7121 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.492e-05/0.6131, allocations: 7.938 kB / 0.7121 GB, free: 9.719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/0.6132, allocations: 7.984 kB / 0.7121 GB, free: 9.711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.293e-05/0.6133, allocations: 24.84 kB / 0.7122 GB, free: 9.684 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6133, allocations: 0 / 0.7122 GB, free: 9.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001311/0.6134, allocations: 53.62 kB / 0.7122 GB, free: 9.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.6135, allocations: 7.938 kB / 0.7122 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6135, allocations: 4 kB / 0.7122 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.6135, allocations: 0 / 0.7122 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.6136, allocations: 8 kB / 0.7122 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.6136, allocations: 3.984 kB / 0.7122 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.331e-05/0.6136, allocations: 4 kB / 0.7122 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.6136, allocations: 0 / 0.7122 GB, free: 9.598 MB / 0.545 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.137e-05/0.6137, allocations: 109.8 kB / 0.7123 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.6137, allocations: 12.36 kB / 0.7124 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.6139, allocations: 69.08 kB / 0.7124 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6139, allocations: 0 / 0.7124 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6139, allocations: 0 / 0.7124 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6139, allocations: 4 kB / 0.7124 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.457e-05/0.614, allocations: 149.7 kB / 0.7126 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.614, allocations: 4 kB / 0.7126 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.6141, allocations: 4 kB / 0.7126 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.6141, allocations: 3.938 kB / 0.7126 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.6141, allocations: 0 / 0.7126 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.6141, allocations: 0 / 0.7126 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6141, allocations: 4 kB / 0.7126 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.6143, allocations: 77.11 kB / 0.7127 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.6143, allocations: 85.05 kB / 0.7127 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.6143, allocations: 0 / 0.7127 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.94e-05/0.6144, allocations: 3.984 kB / 0.7127 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.6144, allocations: 3.938 kB / 0.7127 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.6144, allocations: 4 kB / 0.7127 GB, free: 8.969 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.322e-05/0.6145, allocations: 83.28 kB / 0.7128 GB, free: 8.887 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6145, allocations: 0 / 0.7128 GB, free: 8.887 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002206/0.6147, allocations: 12 kB / 0.7128 GB, free: 8.875 MB / 0.545 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.0004805/0.6152, allocations: 0.6202 MB / 0.7134 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001606/0.6154, allocations: 27.86 kB / 0.7135 GB, free: 8.199 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6154, allocations: 0 / 0.7135 GB, free: 8.199 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.146e-05/0.6154, allocations: 15.98 kB / 0.7135 GB, free: 8.184 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.6157, allocations: 7.5 kB / 0.7135 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.6163, allocations: 161.4 kB / 0.7136 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.6165, allocations: 0.6768 MB / 0.7143 GB, free: 7.277 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.756e-05/0.6166, allocations: 4 kB / 0.7143 GB, free: 7.273 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.6167, allocations: 11.44 kB / 0.7143 GB, free: 7.262 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.6167, allocations: 3.938 kB / 0.7143 GB, free: 7.258 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.6342, allocations: 1.333 MB / 0.7156 GB, free: 6.039 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.242/7.876, allocations: 8.406 kB / 0.7156 GB, free: 6.039 MB / 0.545 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)