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.001344/0.001345, allocations: 105.6 kB / 16.4 MB, free: 6.469 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.001213/0.001213, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8306/0.8306, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 71.36 kB / 0.5735 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1816, allocations: 78.85 MB / 0.6505 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002298/0.1839, allocations: 1.27 MB / 0.6518 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5311/0.715, allocations: 132 MB / 0.7807 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.7151, allocations: 1.094 kB / 0.7807 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.7152, allocations: 2.016 kB / 0.7807 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.7152, allocations: 4.969 kB / 0.7807 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.7156, allocations: 59.17 kB / 0.7808 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.766e-05/0.7157, allocations: 30.14 kB / 0.7808 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.7158, allocations: 2.094 kB / 0.7808 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.7158, allocations: 8.328 kB / 0.7808 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.673e-05/0.7159, allocations: 11.72 kB / 0.7808 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.7159, allocations: 1.094 kB / 0.7808 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.121e-05/0.716, allocations: 16.62 kB / 0.7808 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.716, allocations: 4.734 kB / 0.7808 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.716, allocations: 8.703 kB / 0.7809 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.7161, allocations: 25.45 kB / 0.7809 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7161, allocations: 0 / 0.7809 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7161, allocations: 2.156 kB / 0.7809 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.7162, allocations: 4 kB / 0.7809 GB, free: 13.77 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.0004663/0.7166, allocations: 337.6 kB / 0.7812 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.7167, allocations: 9.781 kB / 0.7812 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.7167, allocations: 35.14 kB / 0.7813 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.7168, allocations: 2.938 kB / 0.7813 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.7169, allocations: 165.6 kB / 0.7814 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.473e-05/0.717, allocations: 29.52 kB / 0.7814 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.717, allocations: 3.938 kB / 0.7814 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.7172, allocations: 45.89 kB / 0.7815 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.7172, allocations: 0 / 0.7815 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.7172, allocations: 2.625 kB / 0.7815 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.7172, allocations: 5.062 kB / 0.7815 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.912e-05/0.7173, allocations: 13.22 kB / 0.7815 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.7175, allocations: 154.1 kB / 0.7817 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.7176, allocations: 33.19 kB / 0.7817 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.7177, allocations: 16.5 kB / 0.7817 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.7178, allocations: 87.44 kB / 0.7818 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.7179, allocations: 39.19 kB / 0.7818 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.7179, allocations: 0 / 0.7818 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002601/0.7182, allocations: 65.42 kB / 0.7819 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.7182, allocations: 56.09 kB / 0.7819 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.7183, allocations: 98.88 kB / 0.782 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.7183, allocations: 26.23 kB / 0.7821 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.7184, allocations: 80.8 kB / 0.7821 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.7184, allocations: 7.516 kB / 0.7821 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.7185, allocations: 17.34 kB / 0.7822 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.7186, allocations: 311.8 kB / 0.7825 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.7187, allocations: 10.03 kB / 0.7825 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-05/0.7187, allocations: 10.86 kB / 0.7825 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.847e-05/0.7188, allocations: 26.53 kB / 0.7825 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7189, allocations: 0.5 kB / 0.7825 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001332/0.719, allocations: 47.92 kB / 0.7825 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.719, allocations: 11.12 kB / 0.7826 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.719, allocations: 0.5625 kB / 0.7826 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.7191, allocations: 0.5 kB / 0.7826 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.7191, allocations: 7.938 kB / 0.7826 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.7192, allocations: 4.5 kB / 0.7826 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.432e-05/0.7192, allocations: 9.484 kB / 0.7826 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.7192, allocations: 1.312 kB / 0.7826 GB, free: 12.03 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 0.0001288/0.7193, allocations: 112.9 kB / 0.7827 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.7194, allocations: 5.156 kB / 0.7827 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.7195, allocations: 60.95 kB / 0.7828 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.7196, allocations: 2.688 kB / 0.7828 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.7196, allocations: 0 / 0.7828 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.7196, allocations: 4.594 kB / 0.7828 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.7197, allocations: 155.5 kB / 0.7829 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7197, allocations: 1.594 kB / 0.7829 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.7198, allocations: 5.031 kB / 0.7829 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.7198, allocations: 4.5 kB / 0.7829 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.7198, allocations: 2.812 kB / 0.7829 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7198, allocations: 0.5938 kB / 0.7829 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7198, allocations: 0.5625 kB / 0.7829 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.72, allocations: 79.69 kB / 0.783 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/0.7201, allocations: 88.83 kB / 0.7831 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.7201, allocations: 7.547 kB / 0.7831 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.969e-05/0.7201, allocations: 1.125 kB / 0.7831 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.7202, allocations: 2.812 kB / 0.7831 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.7202, allocations: 1.875 kB / 0.7831 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.524e-05/0.7202, allocations: 87.06 kB / 0.7832 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7202, allocations: 0.5 kB / 0.7832 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001949/0.7204, allocations: 8.625 kB / 0.7832 GB, free: 11.42 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.0005777/0.721, allocations: 0.6246 MB / 0.7838 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.7212, allocations: 24.73 kB / 0.7838 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.7212, allocations: 0 / 0.7838 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.756e-05/0.7213, allocations: 13.98 kB / 0.7838 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.7215, allocations: 7.891 kB / 0.7838 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.722, allocations: 151.4 kB / 0.784 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.7223, allocations: 0.675 MB / 0.7846 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.7223, allocations: 8.375 kB / 0.7847 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.7223, allocations: 12.03 kB / 0.7847 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.7223, allocations: 0.5 kB / 0.7847 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.744, allocations: 1.376 MB / 0.786 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.823, allocations: 3.25 kB / 0.786 GB, free: 9.594 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)