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.001315/0.001315, allocations: 105.2 kB / 16.4 MB, free: 6.445 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.001436/0.001436, allocations: 193.2 kB / 17.34 MB, free: 5.711 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8026/0.8026, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 65.08 kB / 0.5679 GB, free: 28.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1415, allocations: 77.93 MB / 0.6441 GB, free: 9.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00283/0.1444, allocations: 1.474 MB / 0.6455 GB, free: 8.059 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5252/0.6696, allocations: 132.1 MB / 0.7745 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.6697, allocations: 0.5625 kB / 0.7745 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.6697, allocations: 4.781 kB / 0.7745 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.231e-05/0.6698, allocations: 13.48 kB / 0.7745 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.6702, allocations: 69.53 kB / 0.7745 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.114e-05/0.6703, allocations: 58.88 kB / 0.7746 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.318e-05/0.6704, allocations: 22.27 kB / 0.7746 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.726e-05/0.6705, allocations: 20.78 kB / 0.7746 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.6705, allocations: 27.41 kB / 0.7747 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.6705, allocations: 3.844 kB / 0.7747 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.044e-05/0.6706, allocations: 15.11 kB / 0.7747 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.6707, allocations: 12.56 kB / 0.7747 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.6707, allocations: 23.73 kB / 0.7747 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.6708, allocations: 64.44 kB / 0.7748 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6708, allocations: 0 / 0.7748 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.595e-06/0.6709, allocations: 1.156 kB / 0.7748 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.6709, allocations: 1.203 kB / 0.7748 GB, free: 14.3 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.0004837/0.6714, allocations: 373.8 kB / 0.7751 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.6714, allocations: 11.61 kB / 0.7751 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.6714, allocations: 31.97 kB / 0.7752 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.6715, allocations: 7.391 kB / 0.7752 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.6716, allocations: 181.6 kB / 0.7754 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.6716, allocations: 5.25 kB / 0.7754 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.6716, allocations: 3.406 kB / 0.7754 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.6719, allocations: 70.8 kB / 0.7754 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6719, allocations: 7.125 kB / 0.7754 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.6719, allocations: 4.656 kB / 0.7754 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6719, allocations: 1.469 kB / 0.7754 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.6722, allocations: 67.73 kB / 0.7755 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.6726, allocations: 290.9 kB / 0.7758 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.6728, allocations: 51.38 kB / 0.7758 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.6729, allocations: 47.28 kB / 0.7759 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.6731, allocations: 88.17 kB / 0.776 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.6732, allocations: 33.64 kB / 0.776 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 2.645e-06/0.6732, allocations: 0 / 0.776 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005526/0.6737, allocations: 134.2 kB / 0.7761 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.6738, allocations: 53.14 kB / 0.7762 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.6739, allocations: 115.6 kB / 0.7763 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.6739, allocations: 26.23 kB / 0.7763 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.674, allocations: 92.41 kB / 0.7764 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.674, allocations: 16.19 kB / 0.7764 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.674, allocations: 18.58 kB / 0.7764 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.6741, allocations: 322.4 kB / 0.7767 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.6743, allocations: 29.14 kB / 0.7768 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.6744, allocations: 32.22 kB / 0.7768 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.6747, allocations: 77.91 kB / 0.7769 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6747, allocations: 0 / 0.7769 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003312/0.6751, allocations: 97.23 kB / 0.777 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.6751, allocations: 4.969 kB / 0.777 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.6751, allocations: 3.203 kB / 0.777 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.6751, allocations: 0.6875 kB / 0.777 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.6752, allocations: 18.7 kB / 0.777 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.6753, allocations: 0.5 kB / 0.777 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-05/0.6753, allocations: 13.62 kB / 0.777 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.6754, allocations: 5.656 kB / 0.777 GB, free: 12.47 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.041e-05/0.6754, allocations: 112.2 kB / 0.7771 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.6755, allocations: 4.625 kB / 0.7771 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.6759, allocations: 117.9 kB / 0.7772 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.6759, allocations: 3.172 kB / 0.7772 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6759, allocations: 0 / 0.7772 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.6759, allocations: 0.5 kB / 0.7772 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.6761, allocations: 174.5 kB / 0.7774 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6761, allocations: 2.531 kB / 0.7774 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.6762, allocations: 14.64 kB / 0.7774 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6762, allocations: 5.766 kB / 0.7774 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.6762, allocations: 0.5 kB / 0.7774 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6762, allocations: 0.625 kB / 0.7774 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6762, allocations: 0.625 kB / 0.7774 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.6766, allocations: 198.6 kB / 0.7776 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.6767, allocations: 86.09 kB / 0.7777 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.6767, allocations: 4.25 kB / 0.7777 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.6768, allocations: 12.56 kB / 0.7777 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.6768, allocations: 3.859 kB / 0.7777 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.6768, allocations: 3.625 kB / 0.7777 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.814e-05/0.6769, allocations: 94.97 kB / 0.7778 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6769, allocations: 0 / 0.7778 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002377/0.6771, allocations: 16.09 kB / 0.7778 GB, free: 11.79 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.0006429/0.6778, allocations: 0.7402 MB / 0.7786 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003328/0.6781, allocations: 71.23 kB / 0.7786 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6781, allocations: 3.938 kB / 0.7786 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.6783, allocations: 35.67 kB / 0.7787 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.6786, allocations: 14.48 kB / 0.7787 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.6803, allocations: 1.423 MB / 0.7801 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.6806, allocations: 0.6857 MB / 0.7807 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.496e-05/0.6806, allocations: 5.172 kB / 0.7807 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.6807, allocations: 18.3 kB / 0.7808 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.6807, allocations: 1.062 kB / 0.7808 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.6986, allocations: 2.076 MB / 0.7828 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/8.222, allocations: 8.797 kB / 0.7828 GB, free: 8.809 MB / 0.5919 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)