Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_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.001192/0.001192, allocations: 179 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.4604/0.4604, allocations: 90.8 MB / 104.5 MB, free: 9.797 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.256/1.256, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008286/0.0008285, allocations: 96.69 kB / 421.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.69e-05/2.691e-05, allocations: 4 kB / 0.4897 GB, free: 5.285 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3547, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.4992, allocations: 128.6 MB / 0.6859 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.4995, allocations: 71.95 kB / 0.686 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005339/0.5048, allocations: 2.202 MB / 0.6882 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5049, allocations: 0 / 0.6882 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.5049, allocations: 4 kB / 0.6882 GB, free: 5.367 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003967/0.5053, allocations: 381.8 kB / 0.6885 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.5053, allocations: 15.98 kB / 0.6885 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.5054, allocations: 34.56 kB / 0.6886 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.434e-05/0.5054, allocations: 3.906 kB / 0.6886 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.5055, allocations: 171 kB / 0.6887 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.5055, allocations: 8 kB / 0.6887 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.5056, allocations: 4 kB / 0.6887 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.5057, allocations: 53.64 kB / 0.6888 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.5057, allocations: 3.938 kB / 0.6888 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.5057, allocations: 0 / 0.6888 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.5057, allocations: 0 / 0.6888 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.209e-05/0.5058, allocations: 28 kB / 0.6888 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.5061, allocations: 284.8 kB / 0.6891 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.998e-05/0.5062, allocations: 34.5 kB / 0.6891 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.5063, allocations: 16.86 kB / 0.6892 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.5064, allocations: 93.19 kB / 0.6892 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.5064, allocations: 30.56 kB / 0.6893 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.5064, allocations: 0 / 0.6893 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001445/0.5066, allocations: 53.69 kB / 0.6893 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.5066, allocations: 51.41 kB / 0.6894 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.5067, allocations: 106.9 kB / 0.6895 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.5067, allocations: 29.7 kB / 0.6895 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.5068, allocations: 99.97 kB / 0.6896 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.5068, allocations: 7.969 kB / 0.6896 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.5068, allocations: 4 kB / 0.6896 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.5069, allocations: 318.8 kB / 0.6899 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.151e-05/0.5069, allocations: 11.94 kB / 0.6899 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.507, allocations: 12 kB / 0.6899 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.264e-05/0.507, allocations: 4 kB / 0.6899 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.507, allocations: 0 / 0.6899 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.437e-05/0.5071, allocations: 57.64 kB / 0.69 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5071, allocations: 4 kB / 0.69 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.5071, allocations: 4 kB / 0.69 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.5071, allocations: 0 / 0.69 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.5073, allocations: 21.2 kB / 0.69 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.5073, allocations: 0 / 0.69 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.746e-05/0.5074, allocations: 19.89 kB / 0.69 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.5074, allocations: 11.94 kB / 0.6901 GB, free: 3.195 MB / 0.4948 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 () * 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.606e-05/0.5074, allocations: 112.9 kB / 0.6902 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.5075, allocations: 7.953 kB / 0.6902 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.5076, allocations: 53.72 kB / 0.6902 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.5076, allocations: 0 / 0.6902 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5076, allocations: 4 kB / 0.6902 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.5076, allocations: 0 / 0.6902 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.5078, allocations: 169.6 kB / 0.6904 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.5078, allocations: 0 / 0.6904 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.5079, allocations: 23.98 kB / 0.6904 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5079, allocations: 10.09 kB / 0.6904 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.5079, allocations: 0 / 0.6904 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5079, allocations: 0 / 0.6904 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5079, allocations: 0 / 0.6904 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.508, allocations: 159.4 kB / 0.6906 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.5081, allocations: 81.39 kB / 0.6906 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.5081, allocations: 3.953 kB / 0.6906 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.5082, allocations: 15.98 kB / 0.6907 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.5083, allocations: 7.984 kB / 0.6907 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.5083, allocations: 3.984 kB / 0.6907 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.5083, allocations: 87.28 kB / 0.6908 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5083, allocations: 0 / 0.6908 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002039/0.5086, allocations: 27.84 kB / 0.6908 GB, free: 2.34 MB / 0.4948 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 () * 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.0004151/0.509, allocations: 0.7163 MB / 0.6915 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.387e-05/0.5091, allocations: 23.98 kB / 0.6915 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5091, allocations: 0 / 0.6915 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.154e-05/0.5091, allocations: 12 kB / 0.6915 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.5093, allocations: 18.03 kB / 0.6915 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.5096, allocations: 132 kB / 0.6917 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.5098, allocations: 0.6848 MB / 0.6923 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.451e-05/0.5099, allocations: 7.75 kB / 0.6923 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.5099, allocations: 11.44 kB / 0.6923 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of SimCode: time 2.41e-07/0.5099, allocations: 8 kB / 0.6924 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.5218, allocations: 2.339 MB / 0.6946 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.522, allocations: 157.8 kB / 0.6948 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.41/1.932, allocations: 0 / 0.6948 GB, free: 14.23 MB / 0.5105 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)