Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_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.001115/0.001115, allocations: 104.1 kB / 16.27 MB, free: 5.93 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.001101/0.001101, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.269/1.269, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7462/0.7462, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 63.89 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3219, allocations: 77.92 MB / 0.5673 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002301/0.3243, allocations: 1.487 MB / 0.5687 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1397/0.464, allocations: 132.1 MB / 0.6977 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.4641, allocations: 4 kB / 0.6977 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.912e-05/0.4642, allocations: 3.938 kB / 0.6977 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.304e-05/0.4643, allocations: 15.81 kB / 0.6977 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.4647, allocations: 69.95 kB / 0.6978 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.4648, allocations: 55.78 kB / 0.6978 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.4649, allocations: 12 kB / 0.6979 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.366e-05/0.465, allocations: 19.92 kB / 0.6979 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.4651, allocations: 23.91 kB / 0.6979 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.4651, allocations: 4 kB / 0.6979 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.4652, allocations: 16 kB / 0.6979 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.4652, allocations: 15.92 kB / 0.6979 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.4653, allocations: 27.86 kB / 0.698 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.4654, allocations: 59.75 kB / 0.698 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.4654, allocations: 0 / 0.698 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4654, allocations: 4 kB / 0.698 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.4654, allocations: 0 / 0.698 GB, free: 4.48 MB / 0.5294 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.0005373/0.466, allocations: 371.3 kB / 0.6984 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.466, allocations: 12.62 kB / 0.6984 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/0.4661, allocations: 34.75 kB / 0.6984 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.4661, allocations: 4.938 kB / 0.6984 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.4662, allocations: 180.2 kB / 0.6986 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.4663, allocations: 384 / 0.6986 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.4663, allocations: 8.375 kB / 0.6986 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.4665, allocations: 70.2 kB / 0.6987 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.4666, allocations: 7.938 kB / 0.6987 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.4666, allocations: 0 / 0.6987 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4666, allocations: 4 kB / 0.6987 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.4669, allocations: 63.92 kB / 0.6987 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.4672, allocations: 292.6 kB / 0.699 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.4675, allocations: 58.53 kB / 0.6991 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.4676, allocations: 36.92 kB / 0.6991 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.4678, allocations: 89.09 kB / 0.6992 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4678, allocations: 34.56 kB / 0.6992 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4678, allocations: 4 kB / 0.6992 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005514/0.4684, allocations: 137.4 kB / 0.6994 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.4684, allocations: 51.41 kB / 0.6994 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.254e-05/0.4685, allocations: 117.8 kB / 0.6995 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.4685, allocations: 25.7 kB / 0.6996 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.4686, allocations: 92.12 kB / 0.6996 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.4686, allocations: 11.91 kB / 0.6997 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.4687, allocations: 13.72 kB / 0.6997 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.4688, allocations: 318.8 kB / 0.7 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.4689, allocations: 31.95 kB / 0.7 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.4691, allocations: 31.97 kB / 0.7 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.4693, allocations: 68.72 kB / 0.7001 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4693, allocations: 4 kB / 0.7001 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000351/0.4697, allocations: 105.5 kB / 0.7002 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4697, allocations: 4 kB / 0.7002 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4697, allocations: 0 / 0.7002 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4698, allocations: 3.984 kB / 0.7002 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.4699, allocations: 19.92 kB / 0.7002 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4699, allocations: 0 / 0.7002 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.47, allocations: 15.92 kB / 0.7002 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.47, allocations: 4 kB / 0.7002 GB, free: 1.945 MB / 0.5294 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.359e-05/0.4701, allocations: 121.8 kB / 0.7004 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.4701, allocations: 0 / 0.7004 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.4705, allocations: 109.4 kB / 0.7005 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.4705, allocations: 0 / 0.7005 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4705, allocations: 0 / 0.7005 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.4705, allocations: 4 kB / 0.7005 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.4707, allocations: 173.5 kB / 0.7006 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4707, allocations: 7.938 kB / 0.7006 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.4708, allocations: 19.97 kB / 0.7007 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4708, allocations: 4 kB / 0.7007 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.4708, allocations: 0 / 0.7007 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4708, allocations: 0 / 0.7007 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4708, allocations: 0 / 0.7007 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.4712, allocations: 195.4 kB / 0.7009 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.4712, allocations: 89 kB / 0.7009 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.4713, allocations: 4 kB / 0.7009 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.4714, allocations: 11.98 kB / 0.701 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.4714, allocations: 0 / 0.701 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.4714, allocations: 0 / 0.701 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.142e-05/0.4715, allocations: 95.27 kB / 0.701 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4715, allocations: 4 kB / 0.701 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000238/0.4717, allocations: 16 kB / 0.7011 GB, free: 1.004 MB / 0.5294 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.0006598/0.4724, allocations: 0.7401 MB / 0.7018 GB, free: 244 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.4728, allocations: 75.89 kB / 0.7019 GB, free: 168 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4728, allocations: 0 / 0.7019 GB, free: 168 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.4729, allocations: 35.95 kB / 0.7019 GB, free: 132 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.4732, allocations: 12 kB / 0.7019 GB, free: 120 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.475, allocations: 1.418 MB / 0.7033 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.4753, allocations: 0.6807 MB / 0.704 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.8e-05/0.4753, allocations: 11.92 kB / 0.704 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.4754, allocations: 19.44 kB / 0.704 GB, free: 13.89 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4754, allocations: 0 / 0.704 GB, free: 13.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.4933, allocations: 2.026 MB / 0.706 GB, free: 11.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.228/7.721, allocations: 20.3 kB / 0.706 GB, free: 11.96 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)