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.004858/0.004858, allocations: 100.4 kB / 15.73 MB, free: 6.07 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.001291/0.001291, allocations: 189.1 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8192/0.8192, allocations: 132.2 MB / 422.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.69 kB / 0.5809 GB, free: 1.266 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1609, allocations: 80.21 MB / 0.6592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002493/0.1634, allocations: 1.273 MB / 0.6604 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1765/0.3399, allocations: 132 MB / 0.7894 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.34, allocations: 0 / 0.7894 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.34, allocations: 0 / 0.7894 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-05/0.3401, allocations: 7.766 kB / 0.7894 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.3405, allocations: 55.67 kB / 0.7894 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.299e-05/0.3406, allocations: 27.91 kB / 0.7895 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.3406, allocations: 0 / 0.7895 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.3407, allocations: 11.98 kB / 0.7895 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.3408, allocations: 11.94 kB / 0.7895 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.3408, allocations: 0 / 0.7895 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 9.133e-05/0.3409, allocations: 19.92 kB / 0.7895 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.3409, allocations: 0 / 0.7895 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.3409, allocations: 11.94 kB / 0.7895 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.341, allocations: 24.19 kB / 0.7895 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3411, allocations: 0 / 0.7895 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3411, allocations: 0 / 0.7895 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.3411, allocations: 0 / 0.7895 GB, free: 8.074 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.0004476/0.3415, allocations: 339.4 kB / 0.7899 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3416, allocations: 16.02 kB / 0.7899 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.3416, allocations: 34.75 kB / 0.7899 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.3417, allocations: 0.9375 kB / 0.7899 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3418, allocations: 164.4 kB / 0.7901 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-05/0.3419, allocations: 26.27 kB / 0.7901 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3419, allocations: 4.375 kB / 0.7901 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.342, allocations: 45.94 kB / 0.7901 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3421, allocations: 0 / 0.7901 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.3421, allocations: 11.88 kB / 0.7902 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3421, allocations: 4 kB / 0.7902 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.659e-05/0.3422, allocations: 7.984 kB / 0.7902 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.3424, allocations: 153.7 kB / 0.7903 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.3425, allocations: 34.61 kB / 0.7903 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.49e-05/0.3425, allocations: 16.86 kB / 0.7904 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.3427, allocations: 93.19 kB / 0.7905 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.3428, allocations: 34.5 kB / 0.7905 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.3428, allocations: 0 / 0.7905 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0002466/0.343, allocations: 65.56 kB / 0.7905 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.3431, allocations: 51.41 kB / 0.7906 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.3432, allocations: 106 kB / 0.7907 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.3432, allocations: 29.7 kB / 0.7907 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.3432, allocations: 80.14 kB / 0.7908 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.3433, allocations: 7.891 kB / 0.7908 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.3433, allocations: 17.72 kB / 0.7908 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3435, allocations: 310.8 kB / 0.7911 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.394e-05/0.3435, allocations: 11.98 kB / 0.7911 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.002e-05/0.3436, allocations: 4 kB / 0.7911 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.774e-05/0.3437, allocations: 32.78 kB / 0.7912 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3437, allocations: 0 / 0.7912 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001346/0.3438, allocations: 45.69 kB / 0.7912 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3438, allocations: 7.938 kB / 0.7912 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3439, allocations: 0 / 0.7912 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3439, allocations: 0 / 0.7912 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.419e-05/0.344, allocations: 15.98 kB / 0.7912 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.344, allocations: 0 / 0.7912 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.344, allocations: 3.953 kB / 0.7912 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.344, allocations: 0 / 0.7912 GB, free: 6.074 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 9.745e-05/0.3441, allocations: 113.8 kB / 0.7913 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.3441, allocations: 3.938 kB / 0.7914 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.3443, allocations: 61.11 kB / 0.7914 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3443, allocations: 4 kB / 0.7914 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3443, allocations: 0 / 0.7914 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3443, allocations: 3.938 kB / 0.7914 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.3445, allocations: 149.7 kB / 0.7916 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3445, allocations: 4 kB / 0.7916 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.3446, allocations: 15.98 kB / 0.7916 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.3446, allocations: 3.938 kB / 0.7916 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.3446, allocations: 0 / 0.7916 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3446, allocations: 4 kB / 0.7916 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3446, allocations: 0 / 0.7916 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.3448, allocations: 73 kB / 0.7917 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.632e-05/0.3448, allocations: 89.03 kB / 0.7917 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.3449, allocations: 4 kB / 0.7917 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.903e-05/0.3449, allocations: 0 / 0.7917 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.3449, allocations: 8 kB / 0.7918 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.345, allocations: 0 / 0.7918 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.345, allocations: 83.69 kB / 0.7918 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.345, allocations: 0 / 0.7918 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002001/0.3452, allocations: 11.94 kB / 0.7918 GB, free: 5.344 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.0005424/0.3458, allocations: 0.6203 MB / 0.7924 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.3459, allocations: 27.95 kB / 0.7925 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3459, allocations: 4 kB / 0.7925 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.855e-05/0.346, allocations: 7.984 kB / 0.7925 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.3462, allocations: 8 kB / 0.7925 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.3467, allocations: 169.2 kB / 0.7927 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.3471, allocations: 0.6768 MB / 0.7933 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.505e-05/0.3471, allocations: 0 / 0.7933 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.3472, allocations: 15.44 kB / 0.7933 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of SimCode: time 3.2e-07/0.3472, allocations: 0 / 0.7933 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.3706, allocations: 1.348 MB / 0.7946 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.241, allocations: 13.86 kB / 0.7947 GB, free: 2.504 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)