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.592/1.592, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.001142/0.001142, allocations: 183.1 kB / 371.6 MB, free: 3.344 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.09/2.09, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.000938/0.0009379, allocations: 95.23 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.86e-05/3.863e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2993, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.324, allocations: 166 MB / 1.142 GB, free: 22.68 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.324, allocations: 70.38 kB / 1.142 GB, free: 22.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.005315/1.329, allocations: 2.156 MB / 1.144 GB, free: 21.28 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.023e-06/1.329, allocations: 0 / 1.144 GB, free: 21.28 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.687e-06/1.329, allocations: 0 / 1.144 GB, free: 21.28 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.0004686/1.33, allocations: 378.7 kB / 1.145 GB, free: 20.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/1.33, allocations: 11.41 kB / 1.145 GB, free: 20.88 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/1.33, allocations: 38.5 kB / 1.145 GB, free: 20.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/1.33, allocations: 2.344 kB / 1.145 GB, free: 20.83 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/1.33, allocations: 167.1 kB / 1.145 GB, free: 20.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/1.33, allocations: 4.453 kB / 1.145 GB, free: 20.63 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/1.33, allocations: 8.688 kB / 1.145 GB, free: 20.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/1.33, allocations: 52.8 kB / 1.145 GB, free: 20.58 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.33, allocations: 0 / 1.145 GB, free: 20.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/1.33, allocations: 1.031 kB / 1.145 GB, free: 20.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/1.33, allocations: 0 / 1.145 GB, free: 20.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.63e-05/1.33, allocations: 27.11 kB / 1.145 GB, free: 20.56 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/1.331, allocations: 287.5 kB / 1.145 GB, free: 20.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.861e-05/1.331, allocations: 36.58 kB / 1.145 GB, free: 20.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/1.331, allocations: 15.92 kB / 1.145 GB, free: 20.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/1.331, allocations: 88.44 kB / 1.145 GB, free: 20.11 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/1.331, allocations: 30.56 kB / 1.145 GB, free: 20.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 3.626e-06/1.331, allocations: 0.7969 kB / 1.145 GB, free: 20.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001756/1.331, allocations: 67.34 kB / 1.145 GB, free: 20.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/1.331, allocations: 51.41 kB / 1.145 GB, free: 19.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/1.331, allocations: 109.2 kB / 1.146 GB, free: 19.85 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/1.331, allocations: 30.27 kB / 1.146 GB, free: 19.81 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/1.331, allocations: 93.55 kB / 1.146 GB, free: 19.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/1.331, allocations: 3.906 kB / 1.146 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.331, allocations: 0 / 1.146 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.998e-05/1.332, allocations: 321.3 kB / 1.146 GB, free: 19.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/1.332, allocations: 7.188 kB / 1.146 GB, free: 19.4 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.141e-05/1.332, allocations: 12.34 kB / 1.146 GB, free: 19.39 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/1.332, allocations: 11.27 kB / 1.146 GB, free: 19.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/1.332, allocations: 0 / 1.146 GB, free: 19.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.214e-05/1.332, allocations: 55.81 kB / 1.146 GB, free: 19.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.332, allocations: 4 kB / 1.146 GB, free: 19.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.332, allocations: 0 / 1.146 GB, free: 19.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.332, allocations: 5.688 kB / 1.146 GB, free: 19.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/1.332, allocations: 26.78 kB / 1.146 GB, free: 19.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/1.332, allocations: 0 / 1.146 GB, free: 19.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.737e-05/1.332, allocations: 24.39 kB / 1.146 GB, free: 19.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/1.332, allocations: 4 kB / 1.146 GB, free: 19.29 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 5.288e-05/1.332, allocations: 102.6 kB / 1.146 GB, free: 19.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/1.332, allocations: 3.906 kB / 1.146 GB, free: 19.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/1.332, allocations: 62.55 kB / 1.146 GB, free: 19.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/1.332, allocations: 0 / 1.146 GB, free: 19.12 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.332, allocations: 4.828 kB / 1.146 GB, free: 19.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.332, allocations: 8 kB / 1.146 GB, free: 19.11 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/1.332, allocations: 170.8 kB / 1.146 GB, free: 18.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.332, allocations: 0 / 1.146 GB, free: 18.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/1.333, allocations: 26.16 kB / 1.146 GB, free: 18.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.333, allocations: 0 / 1.146 GB, free: 18.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/1.333, allocations: 4.812 kB / 1.146 GB, free: 18.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.333, allocations: 0 / 1.146 GB, free: 18.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.333, allocations: 0 / 1.146 GB, free: 18.9 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/1.333, allocations: 151.6 kB / 1.147 GB, free: 18.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/1.333, allocations: 88.39 kB / 1.147 GB, free: 18.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/1.333, allocations: 0 / 1.147 GB, free: 18.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/1.333, allocations: 19.05 kB / 1.147 GB, free: 18.63 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/1.333, allocations: 4.141 kB / 1.147 GB, free: 18.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/1.333, allocations: 9.312 kB / 1.147 GB, free: 18.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.126e-05/1.333, allocations: 92.06 kB / 1.147 GB, free: 18.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.333, allocations: 0 / 1.147 GB, free: 18.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002512/1.333, allocations: 22.48 kB / 1.147 GB, free: 18.52 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.0004884/1.334, allocations: 0.7133 MB / 1.148 GB, free: 17.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001097/1.334, allocations: 26 kB / 1.148 GB, free: 17.78 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.334, allocations: 0 / 1.148 GB, free: 17.78 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/1.334, allocations: 21.48 kB / 1.148 GB, free: 17.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/1.334, allocations: 14.16 kB / 1.148 GB, free: 17.76 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/1.335, allocations: 115.8 kB / 1.148 GB, free: 17.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/1.335, allocations: 0.6837 MB / 1.148 GB, free: 16.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.689e-05/1.335, allocations: 11.47 kB / 1.148 GB, free: 16.92 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/1.335, allocations: 18 kB / 1.148 GB, free: 16.91 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/1.335, allocations: 0 / 1.148 GB, free: 16.91 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/1.35, allocations: 2.34 MB / 1.151 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/1.35, allocations: 154.1 kB / 1.151 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/3.052, allocations: 4 kB / 1.151 GB, free: 15.42 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)