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.001739/0.001739, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5136/0.5136, allocations: 90.91 MB / 99.35 MB, free: 2.176 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 221.5 MB / 343.2 MB, free: 1.547 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008539/0.0008538, allocations: 101.3 kB / 415.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.97e-05/1.973e-05, allocations: 7.688 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1275, allocations: 72.3 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5072/0.6347, allocations: 127.4 MB / 0.6781 GB, free: 14.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.635, allocations: 80.44 kB / 0.6781 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003841/0.6388, allocations: 1.642 MB / 0.6797 GB, free: 13.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6389, allocations: 0 / 0.6797 GB, free: 13.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.6389, allocations: 4 kB / 0.6797 GB, free: 13.09 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.0003319/0.6392, allocations: 330.8 kB / 0.6801 GB, free: 12.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.6393, allocations: 8.031 kB / 0.6801 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.6393, allocations: 4 kB / 0.6801 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.6395, allocations: 167 kB / 0.6802 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.509e-05/0.6396, allocations: 33.69 kB / 0.6803 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.6396, allocations: 0 / 0.6803 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.518e-05/0.6396, allocations: 4 kB / 0.6803 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.81e-05/0.6397, allocations: 37.28 kB / 0.6803 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.6397, allocations: 4 kB / 0.6803 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.6397, allocations: 3.984 kB / 0.6803 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.6398, allocations: 0 / 0.6803 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.6399, allocations: 126.2 kB / 0.6804 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.305e-05/0.64, allocations: 32.89 kB / 0.6805 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.64, allocations: 8.859 kB / 0.6805 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.6402, allocations: 93.23 kB / 0.6806 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.6402, allocations: 30.56 kB / 0.6806 GB, free: 12.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.6402, allocations: 2.734 kB / 0.6806 GB, free: 12.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001973/0.6404, allocations: 44.94 kB / 0.6806 GB, free: 12.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.6405, allocations: 55.36 kB / 0.6807 GB, free: 11.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.767e-05/0.6405, allocations: 92.61 kB / 0.6808 GB, free: 11.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.6406, allocations: 29.7 kB / 0.6808 GB, free: 11.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.6406, allocations: 80.14 kB / 0.6809 GB, free: 11.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.6406, allocations: 11.81 kB / 0.6809 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.6406, allocations: 0 / 0.6809 GB, free: 11.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.6407, allocations: 310.8 kB / 0.6812 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.6408, allocations: 11.25 kB / 0.6812 GB, free: 11.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/0.6408, allocations: 4 kB / 0.6812 GB, free: 11.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.858e-05/0.6408, allocations: 7.984 kB / 0.6812 GB, free: 11.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6409, allocations: 0 / 0.6812 GB, free: 11.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.438e-05/0.641, allocations: 48.44 kB / 0.6813 GB, free: 11.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.641, allocations: 4 kB / 0.6813 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.641, allocations: 4 kB / 0.6813 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.641, allocations: 0 / 0.6813 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.6411, allocations: 7.984 kB / 0.6813 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.6411, allocations: 4 kB / 0.6813 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.577e-05/0.6412, allocations: 3.953 kB / 0.6813 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.6412, allocations: 0 / 0.6813 GB, free: 11.32 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 6.517e-05/0.6412, allocations: 101 kB / 0.6814 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.464e-05/0.6413, allocations: 53.06 kB / 0.6814 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.6414, allocations: 4.422 kB / 0.6814 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.6415, allocations: 63.59 kB / 0.6815 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6415, allocations: 3.938 kB / 0.6815 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6415, allocations: 3.953 kB / 0.6815 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.6415, allocations: 0 / 0.6815 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.422e-05/0.6416, allocations: 130.2 kB / 0.6816 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6417, allocations: 0 / 0.6816 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.6417, allocations: 7.984 kB / 0.6816 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6417, allocations: 0 / 0.6816 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.6417, allocations: 0 / 0.6816 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.6417, allocations: 7.938 kB / 0.6816 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.6417, allocations: 4 kB / 0.6816 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.6419, allocations: 71.83 kB / 0.6817 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.6419, allocations: 81.09 kB / 0.6818 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.642, allocations: 0 / 0.6818 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.314e-05/0.642, allocations: 4 kB / 0.6818 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.642, allocations: 0 / 0.6818 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.642, allocations: 3.188 kB / 0.6818 GB, free: 10.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.57e-05/0.6421, allocations: 86.08 kB / 0.6819 GB, free: 10.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6421, allocations: 4 kB / 0.6819 GB, free: 10.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000201/0.6423, allocations: 15.94 kB / 0.6819 GB, free: 10.62 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.0005013/0.6428, allocations: 0.6422 MB / 0.6825 GB, free: 9.953 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.363e-05/0.6429, allocations: 15.56 kB / 0.6825 GB, free: 9.941 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6429, allocations: 0 / 0.6825 GB, free: 9.941 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.691e-05/0.6429, allocations: 8 kB / 0.6825 GB, free: 9.934 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.6431, allocations: 7.984 kB / 0.6826 GB, free: 9.926 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.6434, allocations: 80.53 kB / 0.6826 GB, free: 9.812 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.6437, allocations: 0.6845 MB / 0.6833 GB, free: 9.102 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.735e-05/0.6437, allocations: 4 kB / 0.6833 GB, free: 9.098 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.6438, allocations: 15.38 kB / 0.6833 GB, free: 9.082 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6438, allocations: 0 / 0.6833 GB, free: 9.082 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.6647, allocations: 1.086 MB / 0.6844 GB, free: 8.008 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.6649, allocations: 161.5 kB / 0.6845 GB, free: 7.809 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/2.18, allocations: 0 / 0.6845 GB, free: 7.809 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)