Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.525/2.525, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001627, allocations: 187.7 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.614/2.614, allocations: 205.4 MB / 0.5764 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 99.03 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007836/0.0007835, allocations: 15.34 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2663, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2962/0.5625, allocations: 158.1 MB / 1.053 GB, free: 3.168 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005058/0.5631, allocations: 75.95 kB / 1.053 GB, free: 3.094 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006263/0.5694, allocations: 1.629 MB / 1.055 GB, free: 1.461 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5694, allocations: 0 / 1.055 GB, free: 1.461 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.5695, allocations: 4 kB / 1.055 GB, free: 1.457 MB / 0.698 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.0004137/0.5699, allocations: 339.2 kB / 1.055 GB, free: 1.078 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5699, allocations: 8.031 kB / 1.055 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/0.57, allocations: 38.52 kB / 1.055 GB, free: 1.023 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.57, allocations: 7.984 kB / 1.055 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.5702, allocations: 159.1 kB / 1.055 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.891e-05/0.5703, allocations: 33.69 kB / 1.055 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.5703, allocations: 0 / 1.055 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.5705, allocations: 45.81 kB / 1.055 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.5705, allocations: 3.938 kB / 1.055 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.5706, allocations: 7.953 kB / 1.055 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5706, allocations: 0 / 1.055 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.5707, allocations: 11.98 kB / 1.055 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.5709, allocations: 149.7 kB / 1.056 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.5711, allocations: 30.61 kB / 1.056 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/0.5713, allocations: 93.19 kB / 1.056 GB, free: 372 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.5714, allocations: 34.5 kB / 1.056 GB, free: 328 kB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.5714, allocations: 0 / 1.056 GB, free: 328 kB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003602/0.5718, allocations: 65.58 kB / 1.056 GB, free: 256 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.5718, allocations: 55.36 kB / 1.056 GB, free: 188 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.86e-05/0.5719, allocations: 89 kB / 1.056 GB, free: 92 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.572, allocations: 29.7 kB / 1.056 GB, free: 56 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.6342/1.206, allocations: 80.14 kB / 1.056 GB, free: 159 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/1.206, allocations: 4.438 kB / 1.056 GB, free: 159 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/1.206, allocations: 0 / 1.056 GB, free: 159 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.985e-05/1.206, allocations: 313.3 kB / 1.056 GB, free: 158.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/1.207, allocations: 8.109 kB / 1.056 GB, free: 158.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.277e-05/1.207, allocations: 7.125 kB / 1.056 GB, free: 158.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.808e-05/1.207, allocations: 7.625 kB / 1.056 GB, free: 158.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.207, allocations: 6.094 kB / 1.056 GB, free: 158.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000231/1.207, allocations: 49.36 kB / 1.056 GB, free: 158.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.207, allocations: 5.812 kB / 1.056 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.207, allocations: 1.406 kB / 1.056 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/1.207, allocations: 0.5625 kB / 1.056 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/1.207, allocations: 9.594 kB / 1.056 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.207, allocations: 1.75 kB / 1.056 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.679e-05/1.207, allocations: 3.219 kB / 1.056 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/1.207, allocations: 3.453 kB / 1.056 GB, free: 158.7 MB / 0.698 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 () * Number of clocked 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.805e-05/1.207, allocations: 113 kB / 1.057 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/1.207, allocations: 6.844 kB / 1.057 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/1.208, allocations: 60.64 kB / 1.057 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.208, allocations: 1.875 kB / 1.057 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.208, allocations: 0 / 1.057 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.208, allocations: 0.5312 kB / 1.057 GB, free: 158.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/1.208, allocations: 160.3 kB / 1.057 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/1.208, allocations: 0 / 1.057 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.376e-05/1.208, allocations: 7.031 kB / 1.057 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.208, allocations: 1.844 kB / 1.057 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/1.208, allocations: 0.75 kB / 1.057 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.208, allocations: 2.25 kB / 1.057 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.208, allocations: 1.328 kB / 1.057 GB, free: 158.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/1.208, allocations: 85.62 kB / 1.057 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/1.208, allocations: 81.94 kB / 1.057 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/1.208, allocations: 2.344 kB / 1.057 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.878e-05/1.208, allocations: 2.391 kB / 1.057 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/1.208, allocations: 4.359 kB / 1.057 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/1.208, allocations: 1.531 kB / 1.057 GB, free: 158.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.339e-05/1.209, allocations: 81.44 kB / 1.057 GB, free: 158.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.209, allocations: 4.062 kB / 1.057 GB, free: 158.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002672/1.209, allocations: 9.109 kB / 1.057 GB, free: 158.1 MB / 0.698 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 () * Number of clocked 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.0005992/1.209, allocations: 0.6601 MB / 1.058 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002254/1.21, allocations: 25 kB / 1.058 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.21, allocations: 0 / 1.058 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.4e-05/1.21, allocations: 12.09 kB / 1.058 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/1.21, allocations: 7.781 kB / 1.058 GB, free: 157.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/1.211, allocations: 179.7 kB / 1.058 GB, free: 157.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/1.211, allocations: 0.6774 MB / 1.059 GB, free: 156.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.275e-05/1.211, allocations: 6.609 kB / 1.059 GB, free: 156.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/1.211, allocations: 12.38 kB / 1.059 GB, free: 156.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/1.211, allocations: 0 / 1.059 GB, free: 156.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/1.233, allocations: 1.708 MB / 1.06 GB, free: 156.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/1.233, allocations: 192.3 kB / 1.06 GB, free: 156.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/3.602, allocations: 0 / 1.06 GB, free: 156.3 MB / 0.698 GB