Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7796/0.7796, allocations: 128.7 MB / 143.7 MB, free: 2.316 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 176.4 kB / 173.7 MB, free: 6.117 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008746/0.0008748, allocations: 97.56 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003762, allocations: 14 kB / 0.5604 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1535, allocations: 76.77 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5301/0.6837, allocations: 129.2 MB / 0.7616 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.684, allocations: 80.55 kB / 0.7617 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003563/0.6876, allocations: 1.635 MB / 0.7633 GB, free: 29.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6876, allocations: 3.828 kB / 0.7633 GB, free: 29.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.6876, allocations: 1.469 kB / 0.7633 GB, free: 29.91 MB / 0.5105 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.0002784/0.6879, allocations: 331.5 kB / 0.7636 GB, free: 29.56 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.688, allocations: 10.98 kB / 0.7636 GB, free: 29.56 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.688, allocations: 39.56 kB / 0.7636 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.6881, allocations: 2.969 kB / 0.7636 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.738e-05/0.6882, allocations: 169.9 kB / 0.7638 GB, free: 29.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.866e-05/0.6882, allocations: 31.77 kB / 0.7638 GB, free: 29.28 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.6882, allocations: 1.312 kB / 0.7638 GB, free: 29.28 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.6884, allocations: 41.41 kB / 0.7639 GB, free: 29.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.6884, allocations: 0 / 0.7639 GB, free: 29.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.6884, allocations: 7.062 kB / 0.7639 GB, free: 29.24 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6884, allocations: 1 kB / 0.7639 GB, free: 29.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.837e-05/0.6885, allocations: 16.83 kB / 0.7639 GB, free: 29.24 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.6886, allocations: 150.5 kB / 0.764 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.176e-05/0.6887, allocations: 34.88 kB / 0.7641 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.6889, allocations: 87.75 kB / 0.7641 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.6889, allocations: 39.23 kB / 0.7642 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.6889, allocations: 0 / 0.7642 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002246/0.6891, allocations: 62.66 kB / 0.7642 GB, free: 28.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.6892, allocations: 55.34 kB / 0.7643 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.148e-05/0.6892, allocations: 93.61 kB / 0.7644 GB, free: 28.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.6892, allocations: 27.27 kB / 0.7644 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.534e-05/0.6893, allocations: 80.14 kB / 0.7645 GB, free: 28.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.6893, allocations: 6.016 kB / 0.7645 GB, free: 28.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.6893, allocations: 0 / 0.7645 GB, free: 28.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.6894, allocations: 321 kB / 0.7648 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.922e-05/0.6894, allocations: 4.672 kB / 0.7648 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.6894, allocations: 6.562 kB / 0.7648 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.6895, allocations: 10 kB / 0.7648 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.6895, allocations: 0 / 0.7648 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001047/0.6896, allocations: 48.02 kB / 0.7649 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.6896, allocations: 6.844 kB / 0.7649 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.6896, allocations: 5.531 kB / 0.7649 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.6897, allocations: 1.25 kB / 0.7649 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.6897, allocations: 9.562 kB / 0.7649 GB, free: 28.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.6898, allocations: 5.203 kB / 0.7649 GB, free: 28.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.6898, allocations: 5.875 kB / 0.7649 GB, free: 28.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.6898, allocations: 1.719 kB / 0.7649 GB, free: 28.21 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.6899, allocations: 110.7 kB / 0.765 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.6899, allocations: 2.062 kB / 0.765 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.69, allocations: 57.92 kB / 0.7651 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.69, allocations: 2.203 kB / 0.7651 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6901, allocations: 0 / 0.7651 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6901, allocations: 3.953 kB / 0.7651 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.382e-05/0.6901, allocations: 153.8 kB / 0.7652 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.6901, allocations: 0 / 0.7652 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.6902, allocations: 13.67 kB / 0.7652 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6902, allocations: 5.594 kB / 0.7652 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.6902, allocations: 0 / 0.7652 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6902, allocations: 1.062 kB / 0.7652 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6902, allocations: 5.266 kB / 0.7652 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.6904, allocations: 76.44 kB / 0.7653 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.6904, allocations: 85.72 kB / 0.7654 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.6904, allocations: 0 / 0.7654 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.828e-05/0.6905, allocations: 5.188 kB / 0.7654 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.6905, allocations: 5.078 kB / 0.7654 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.6905, allocations: 1.219 kB / 0.7654 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.853e-05/0.6905, allocations: 81.92 kB / 0.7655 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6905, allocations: 0 / 0.7655 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001875/0.6907, allocations: 15.69 kB / 0.7655 GB, free: 27.61 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003897/0.6911, allocations: 0.659 MB / 0.7661 GB, free: 27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.6913, allocations: 25.06 kB / 0.7662 GB, free: 27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6913, allocations: 0.8438 kB / 0.7662 GB, free: 27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.753e-05/0.6913, allocations: 12.58 kB / 0.7662 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.6915, allocations: 5.719 kB / 0.7662 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003943/0.6919, allocations: 178.3 kB / 0.7664 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.692, allocations: 0.682 MB / 0.767 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.101e-05/0.692, allocations: 1.5 kB / 0.767 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.6921, allocations: 9.625 kB / 0.767 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.6921, allocations: 0 / 0.767 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.7053, allocations: 1.714 MB / 0.7687 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.7056, allocations: 203.8 kB / 0.7689 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.209, allocations: 0 / 0.7689 GB, free: 25.71 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)