Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_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.001143/0.001143, allocations: 105.3 kB / 16.41 MB, free: 6.492 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.001163/0.001163, allocations: 193.8 kB / 17.34 MB, free: 5.766 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.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8009/0.8009, allocations: 122.8 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 68.77 kB / 0.568 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1472, allocations: 77.93 MB / 0.6441 GB, free: 9.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002424/0.1497, allocations: 1.253 MB / 0.6453 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4636/0.6133, allocations: 132 MB / 0.7742 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.6134, allocations: 4 kB / 0.7742 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.6135, allocations: 1.781 kB / 0.7742 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.585e-05/0.6135, allocations: 6.75 kB / 0.7742 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.6139, allocations: 58.52 kB / 0.7743 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.652e-05/0.614, allocations: 17.39 kB / 0.7743 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.614, allocations: 11.73 kB / 0.7743 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.6141, allocations: 8.109 kB / 0.7743 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.598e-05/0.6141, allocations: 9.219 kB / 0.7743 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.6142, allocations: 0.5938 kB / 0.7743 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.123e-05/0.6143, allocations: 16.86 kB / 0.7743 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.6143, allocations: 9.922 kB / 0.7744 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.6143, allocations: 5.938 kB / 0.7744 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.6144, allocations: 29.38 kB / 0.7744 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6145, allocations: 0.5 kB / 0.7744 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6145, allocations: 2.5 kB / 0.7744 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.6145, allocations: 0 / 0.7744 GB, free: 14.74 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004269/0.6149, allocations: 339.5 kB / 0.7747 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.615, allocations: 10.25 kB / 0.7747 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.615, allocations: 32.98 kB / 0.7748 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.615, allocations: 6.625 kB / 0.7748 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.6152, allocations: 166.6 kB / 0.7749 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.342e-05/0.6152, allocations: 34.02 kB / 0.775 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.6153, allocations: 1.969 kB / 0.775 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.6154, allocations: 44.61 kB / 0.775 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.6154, allocations: 0 / 0.775 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.6154, allocations: 0.625 kB / 0.775 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6154, allocations: 0.6562 kB / 0.775 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.913e-05/0.6156, allocations: 15.3 kB / 0.775 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.6158, allocations: 155.1 kB / 0.7752 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.6159, allocations: 30.78 kB / 0.7752 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.6159, allocations: 15.84 kB / 0.7752 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.6161, allocations: 89.62 kB / 0.7753 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.6162, allocations: 39.56 kB / 0.7753 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.6162, allocations: 8.719 kB / 0.7753 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002797/0.6165, allocations: 56.73 kB / 0.7754 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.6165, allocations: 52.41 kB / 0.7754 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.6166, allocations: 99.22 kB / 0.7755 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.6166, allocations: 26.45 kB / 0.7756 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.6167, allocations: 82.64 kB / 0.7756 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.6167, allocations: 10.09 kB / 0.7757 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.6167, allocations: 19.3 kB / 0.7757 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6169, allocations: 315.1 kB / 0.776 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-05/0.6169, allocations: 7.266 kB / 0.776 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.22e-05/0.617, allocations: 6.281 kB / 0.776 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.231e-05/0.6171, allocations: 28.19 kB / 0.776 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6171, allocations: 0 / 0.776 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001307/0.6172, allocations: 55.16 kB / 0.7761 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.6172, allocations: 12.84 kB / 0.7761 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6173, allocations: 1.688 kB / 0.7761 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.6173, allocations: 0 / 0.7761 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.6173, allocations: 6.828 kB / 0.7761 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.6174, allocations: 0 / 0.7761 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.6174, allocations: 6.312 kB / 0.7761 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.6174, allocations: 1.031 kB / 0.7761 GB, free: 13 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.452e-05/0.6175, allocations: 110.9 kB / 0.7762 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.6175, allocations: 8.969 kB / 0.7762 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.6177, allocations: 63.19 kB / 0.7763 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.6177, allocations: 1.062 kB / 0.7763 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6177, allocations: 0 / 0.7763 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.6177, allocations: 0 / 0.7763 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.6179, allocations: 151.9 kB / 0.7764 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6179, allocations: 1.094 kB / 0.7764 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.6179, allocations: 7.609 kB / 0.7764 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.6179, allocations: 3.938 kB / 0.7764 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.6179, allocations: 1.219 kB / 0.7764 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.618, allocations: 6.578 kB / 0.7764 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.618, allocations: 1.062 kB / 0.7764 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.6181, allocations: 77.25 kB / 0.7765 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.6182, allocations: 89.77 kB / 0.7766 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.6182, allocations: 0 / 0.7766 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.099e-05/0.6183, allocations: 2.125 kB / 0.7766 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.6183, allocations: 7.344 kB / 0.7766 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.6183, allocations: 5.062 kB / 0.7766 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.399e-05/0.6183, allocations: 80.5 kB / 0.7767 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6183, allocations: 0 / 0.7767 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001987/0.6186, allocations: 12.5 kB / 0.7767 GB, free: 12.39 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.0004855/0.619, allocations: 0.6302 MB / 0.7773 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.6192, allocations: 22 kB / 0.7773 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6192, allocations: 0 / 0.7773 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.122e-05/0.6193, allocations: 12.89 kB / 0.7773 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.6196, allocations: 8.156 kB / 0.7774 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.62, allocations: 159.6 kB / 0.7775 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.6203, allocations: 0.6792 MB / 0.7782 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.91e-05/0.6203, allocations: 3.609 kB / 0.7782 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.6204, allocations: 10.59 kB / 0.7782 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.6204, allocations: 0 / 0.7782 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.6382, allocations: 1.375 MB / 0.7795 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/8.266, allocations: 2.234 kB / 0.7795 GB, free: 10.55 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)