Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.001178/0.001178, allocations: 176.9 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0009964/0.0009966, allocations: 102.5 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.814e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7422/0.7423, allocations: 116.3 MB / 0.9733 GB, free: 76.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2508/0.9931, allocations: 165.4 MB / 1.135 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.9934, allocations: 71.95 kB / 1.135 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0059/0.9994, allocations: 2.135 MB / 1.137 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.704e-06/0.9994, allocations: 0 / 1.137 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.9994, allocations: 3.062 kB / 1.137 GB, free: 14.53 MB / 0.7448 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.0004951/0.9999, allocations: 385.7 kB / 1.137 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/1, allocations: 13.56 kB / 1.137 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/1, allocations: 7.953 kB / 1.137 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/1, allocations: 167 kB / 1.138 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/1, allocations: 4 kB / 1.138 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/1, allocations: 2.062 kB / 1.138 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.238e-05/1, allocations: 20 kB / 1.138 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.784e-05/1, allocations: 49.62 kB / 1.138 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1, allocations: 0 / 1.138 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/1, allocations: 0 / 1.138 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1, allocations: 4 kB / 1.138 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/1.001, allocations: 253.4 kB / 1.138 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.041e-05/1.001, allocations: 30.58 kB / 1.138 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/1.001, allocations: 16.94 kB / 1.138 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/1.001, allocations: 89.11 kB / 1.138 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/1.001, allocations: 42.48 kB / 1.138 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/1.001, allocations: 0 / 1.138 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002647/1.002, allocations: 53.56 kB / 1.138 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/1.002, allocations: 59.39 kB / 1.138 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/1.002, allocations: 98.88 kB / 1.138 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/1.002, allocations: 25.7 kB / 1.138 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/1.002, allocations: 96.06 kB / 1.138 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/1.002, allocations: 11.81 kB / 1.138 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/1.002, allocations: 0 / 1.138 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.002, allocations: 310.8 kB / 1.139 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/1.002, allocations: 8 kB / 1.139 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/1.002, allocations: 12 kB / 1.139 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.897e-05/1.002, allocations: 11.98 kB / 1.139 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.002, allocations: 0 / 1.139 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001102/1.002, allocations: 53.62 kB / 1.139 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.002, allocations: 11.39 kB / 1.139 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.002, allocations: 4 kB / 1.139 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/1.002, allocations: 0 / 1.139 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/1.002, allocations: 21.77 kB / 1.139 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/1.002, allocations: 3.953 kB / 1.139 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.006e-05/1.002, allocations: 19.97 kB / 1.139 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/1.003, allocations: 8 kB / 1.139 GB, free: 12.48 MB / 0.7448 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 7.791e-05/1.003, allocations: 101 kB / 1.139 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00012/1.003, allocations: 61.53 kB / 1.139 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/1.003, allocations: 0 / 1.139 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/1.003, allocations: 62.25 kB / 1.139 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.003, allocations: 11.86 kB / 1.139 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.003, allocations: 0 / 1.139 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/1.003, allocations: 0 / 1.139 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/1.003, allocations: 150.3 kB / 1.139 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/1.003, allocations: 0 / 1.139 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/1.003, allocations: 27.97 kB / 1.139 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.003, allocations: 0 / 1.139 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/1.003, allocations: 0 / 1.139 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.003, allocations: 4 kB / 1.139 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.003, allocations: 0 / 1.139 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/1.003, allocations: 158 kB / 1.139 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/1.004, allocations: 84.2 kB / 1.139 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/1.004, allocations: 4 kB / 1.139 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/1.004, allocations: 15.97 kB / 1.139 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/1.004, allocations: 8 kB / 1.139 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/1.004, allocations: 0 / 1.139 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.231e-05/1.004, allocations: 95.22 kB / 1.14 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.004, allocations: 0 / 1.14 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002283/1.004, allocations: 19.94 kB / 1.14 GB, free: 11.6 MB / 0.7448 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.0006012/1.005, allocations: 0.7162 MB / 1.14 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001016/1.005, allocations: 27.94 kB / 1.14 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.005, allocations: 0 / 1.14 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/1.005, allocations: 12 kB / 1.14 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/1.005, allocations: 11.98 kB / 1.14 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/1.005, allocations: 115.6 kB / 1.14 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/1.006, allocations: 0.6846 MB / 1.141 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.951e-05/1.006, allocations: 6.422 kB / 1.141 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/1.006, allocations: 14.28 kB / 1.141 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.006, allocations: 8 kB / 1.141 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/1.027, allocations: 1.524 MB / 1.143 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/1.027, allocations: 149.5 kB / 1.143 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.607, allocations: 1.547 kB / 1.143 GB, free: 8.254 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)