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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 178.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4768/0.4768, allocations: 90.8 MB / 104.5 MB, free: 13.89 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 221.3 MB / 348.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008532/0.0008532, allocations: 99.88 kB / 421.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.364e-05, allocations: 0 / 0.4897 GB, free: 46.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 72.31 MB / 0.5603 GB, free: 6.328 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.5725, allocations: 128.1 MB / 0.6854 GB, free: 11.78 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.5729, allocations: 77.52 kB / 0.6855 GB, free: 11.74 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004022/0.5769, allocations: 1.666 MB / 0.6871 GB, free: 10.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.577, allocations: 4 kB / 0.6871 GB, free: 10.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.577, allocations: 0 / 0.6871 GB, free: 10.27 MB / 490.7 MB 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.0003076/0.5773, allocations: 321.8 kB / 0.6874 GB, free: 9.918 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.5773, allocations: 11.98 kB / 0.6874 GB, free: 9.906 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.5774, allocations: 38.56 kB / 0.6875 GB, free: 9.859 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.5774, allocations: 0 / 0.6875 GB, free: 9.859 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.5776, allocations: 167 kB / 0.6876 GB, free: 9.656 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-05/0.5776, allocations: 32.83 kB / 0.6877 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.5777, allocations: 0 / 0.6877 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.889e-05/0.5778, allocations: 44.58 kB / 0.6877 GB, free: 9.574 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5778, allocations: 0 / 0.6877 GB, free: 9.574 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.5778, allocations: 0 / 0.6877 GB, free: 9.574 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5778, allocations: 0.75 kB / 0.6877 GB, free: 9.574 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.346e-05/0.5778, allocations: 7.938 kB / 0.6877 GB, free: 9.566 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.578, allocations: 157.6 kB / 0.6879 GB, free: 9.367 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.595e-05/0.5781, allocations: 28.58 kB / 0.6879 GB, free: 9.336 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.5781, allocations: 8.859 kB / 0.6879 GB, free: 9.324 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.5783, allocations: 89.23 kB / 0.688 GB, free: 9.219 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.5783, allocations: 34.06 kB / 0.688 GB, free: 9.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.5783, allocations: 6.734 kB / 0.688 GB, free: 9.176 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001359/0.5785, allocations: 49.58 kB / 0.6881 GB, free: 9.121 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.5785, allocations: 55.03 kB / 0.6881 GB, free: 9.059 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.856e-05/0.5786, allocations: 89 kB / 0.6882 GB, free: 8.965 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.5786, allocations: 25.7 kB / 0.6882 GB, free: 8.934 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.5786, allocations: 80.14 kB / 0.6883 GB, free: 8.852 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.5787, allocations: 15.67 kB / 0.6883 GB, free: 8.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-06/0.5787, allocations: 0 / 0.6883 GB, free: 8.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.5788, allocations: 318.8 kB / 0.6886 GB, free: 8.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.5788, allocations: 0 / 0.6886 GB, free: 8.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.271e-05/0.5788, allocations: 7.938 kB / 0.6886 GB, free: 8.516 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.948e-05/0.5788, allocations: 4 kB / 0.6886 GB, free: 8.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5789, allocations: 0 / 0.6886 GB, free: 8.512 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.223e-05/0.5789, allocations: 49.77 kB / 0.6887 GB, free: 8.461 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.579, allocations: 4.781 kB / 0.6887 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.579, allocations: 0 / 0.6887 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.579, allocations: 7.953 kB / 0.6887 GB, free: 8.449 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.5791, allocations: 11.98 kB / 0.6887 GB, free: 8.438 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5791, allocations: 4 kB / 0.6887 GB, free: 8.434 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.933e-05/0.5791, allocations: 48 / 0.6887 GB, free: 8.434 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.5791, allocations: 7.922 kB / 0.6887 GB, free: 8.426 MB / 490.7 MB 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 () * 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.861e-05/0.5792, allocations: 105 kB / 0.6888 GB, free: 8.316 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-06/0.5792, allocations: 0 / 0.6888 GB, free: 8.316 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.5793, allocations: 56.67 kB / 0.6889 GB, free: 8.258 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.5794, allocations: 3.938 kB / 0.6889 GB, free: 8.254 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5794, allocations: 7.891 kB / 0.6889 GB, free: 8.246 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5794, allocations: 0 / 0.6889 GB, free: 8.246 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.5795, allocations: 161.4 kB / 0.689 GB, free: 8.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.5795, allocations: 0 / 0.689 GB, free: 8.043 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.5795, allocations: 7.984 kB / 0.689 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.5795, allocations: 0 / 0.689 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.5796, allocations: 4 kB / 0.689 GB, free: 8.031 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5796, allocations: 0 / 0.689 GB, free: 8.031 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5796, allocations: 0 / 0.689 GB, free: 8.031 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.687e-05/0.5797, allocations: 72.92 kB / 0.6891 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.5797, allocations: 81.11 kB / 0.6892 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.5798, allocations: 0 / 0.6892 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.303e-05/0.5798, allocations: 7.984 kB / 0.6892 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.5798, allocations: 3.75 kB / 0.6892 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.5798, allocations: 0 / 0.6892 GB, free: 7.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.868e-05/0.5799, allocations: 87.17 kB / 0.6893 GB, free: 7.754 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5799, allocations: 0 / 0.6893 GB, free: 7.754 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.5801, allocations: 15.94 kB / 0.6893 GB, free: 7.738 MB / 490.7 MB 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 () * 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.0005118/0.5806, allocations: 0.637 MB / 0.6899 GB, free: 7.082 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.337e-05/0.5807, allocations: 19.67 kB / 0.6899 GB, free: 7.066 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5807, allocations: 0 / 0.6899 GB, free: 7.066 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.905e-05/0.5807, allocations: 7.938 kB / 0.69 GB, free: 7.059 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.5809, allocations: 9.656 kB / 0.69 GB, free: 7.055 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.5812, allocations: 90.45 kB / 0.69 GB, free: 6.934 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.5815, allocations: 0.677 MB / 0.6907 GB, free: 6.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.782e-05/0.5816, allocations: 7.938 kB / 0.6907 GB, free: 6.223 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.5816, allocations: 7.438 kB / 0.6907 GB, free: 6.215 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5816, allocations: 0 / 0.6907 GB, free: 6.215 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.5944, allocations: 1.794 MB / 0.6925 GB, free: 4.562 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.5946, allocations: 166.6 kB / 0.6926 GB, free: 4.336 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.435/2.03, allocations: 4.859 kB / 0.6926 GB, free: 4.336 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)