Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.479/2.479, allocations: 284.9 MB / 292.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 176.9 kB / 360.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.2 MB / 0.6191 GB, free: 12.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.003123/0.003122, allocations: 80.89 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.692e-05, allocations: 8 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8312/0.8313, allocations: 115.3 MB / 0.9634 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2956/1.127, allocations: 163.7 MB / 1.123 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/1.127, allocations: 76.7 kB / 1.123 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006015/1.133, allocations: 1.597 MB / 1.125 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.024e-06/1.133, allocations: 0 / 1.125 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.164e-06/1.133, allocations: 0.5938 kB / 1.125 GB, free: 7.199 MB / 0.7292 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.0003754/1.134, allocations: 325.3 kB / 1.125 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/1.134, allocations: 9.281 kB / 1.125 GB, free: 6.832 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/1.134, allocations: 3.953 kB / 1.125 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/1.134, allocations: 174.9 kB / 1.125 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-05/1.134, allocations: 26.95 kB / 1.125 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/1.134, allocations: 7.938 kB / 1.125 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.144e-05/1.134, allocations: 8 kB / 1.125 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.235e-05/1.134, allocations: 34.88 kB / 1.125 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/1.134, allocations: 2.844 kB / 1.125 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/1.134, allocations: 0.875 kB / 1.125 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/1.134, allocations: 3.953 kB / 1.125 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/1.135, allocations: 132.8 kB / 1.126 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.311e-05/1.135, allocations: 26.61 kB / 1.126 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/1.135, allocations: 8.859 kB / 1.126 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/1.135, allocations: 91.62 kB / 1.126 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/1.135, allocations: 38.5 kB / 1.126 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.635e-06/1.135, allocations: 0 / 1.126 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002347/1.135, allocations: 41.69 kB / 1.126 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/1.135, allocations: 55.41 kB / 1.126 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.393e-05/1.136, allocations: 90.97 kB / 1.126 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/1.136, allocations: 25.7 kB / 1.126 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/1.136, allocations: 80.14 kB / 1.126 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/1.136, allocations: 11.91 kB / 1.126 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/1.136, allocations: 3.469 kB / 1.126 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.136, allocations: 318.8 kB / 1.126 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/1.136, allocations: 4 kB / 1.126 GB, free: 5.508 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/1.136, allocations: 4 kB / 1.126 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.356e-05/1.136, allocations: 8 kB / 1.126 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.136, allocations: 4 kB / 1.126 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001259/1.136, allocations: 41.62 kB / 1.126 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.136, allocations: 8.781 kB / 1.126 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.136, allocations: 0 / 1.126 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.136, allocations: 0 / 1.126 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/1.136, allocations: 7.984 kB / 1.126 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/1.136, allocations: 3.938 kB / 1.126 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/1.136, allocations: 4 kB / 1.126 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/1.136, allocations: 4 kB / 1.126 GB, free: 5.418 MB / 0.7292 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 8.467e-05/1.136, allocations: 112.7 kB / 1.127 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000118/1.137, allocations: 48.28 kB / 1.127 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/1.137, allocations: 4 kB / 1.127 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/1.137, allocations: 55.14 kB / 1.127 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.383e-06/1.137, allocations: 4 kB / 1.127 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/1.137, allocations: 0 / 1.127 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.137, allocations: 0 / 1.127 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/1.137, allocations: 142.2 kB / 1.127 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.137, allocations: 0 / 1.127 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-05/1.137, allocations: 8 kB / 1.127 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/1.137, allocations: 0 / 1.127 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/1.137, allocations: 0 / 1.127 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.137, allocations: 0 / 1.127 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.137, allocations: 0 / 1.127 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/1.137, allocations: 77.02 kB / 1.127 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.568e-05/1.137, allocations: 85.89 kB / 1.127 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/1.137, allocations: 0 / 1.127 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.684e-05/1.138, allocations: 0 / 1.127 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/1.138, allocations: 11.98 kB / 1.127 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/1.138, allocations: 0 / 1.127 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.585e-05/1.138, allocations: 83.28 kB / 1.127 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/1.138, allocations: 0 / 1.127 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002779/1.138, allocations: 11.94 kB / 1.127 GB, free: 4.695 MB / 0.7292 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.001195/1.139, allocations: 0.6504 MB / 1.128 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002199/1.139, allocations: 15.94 kB / 1.128 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.139, allocations: 0 / 1.128 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.707e-05/1.14, allocations: 15.98 kB / 1.128 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/1.14, allocations: 4.266 kB / 1.128 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/1.141, allocations: 85.59 kB / 1.128 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/1.141, allocations: 0.6768 MB / 1.128 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.677e-05/1.141, allocations: 8 kB / 1.128 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/1.141, allocations: 11.44 kB / 1.128 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/1.141, allocations: 4 kB / 1.128 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03698/1.178, allocations: 1.092 MB / 1.13 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003737/1.178, allocations: 161.3 kB / 1.13 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/3.468, allocations: 6.562 kB / 1.13 GB, free: 1.898 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)