Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.106/2.106, allocations: 251 MB / 265.9 MB, free: 11.67 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.001581/0.001581, allocations: 176.2 kB / 325.5 MB, free: 2.875 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.454/2.454, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001134/0.001133, allocations: 97.92 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004774, allocations: 13.44 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2314, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.281/1.512, allocations: 417.3 MB / 1.306 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/1.512, allocations: 70.53 kB / 1.306 GB, free: 2.02 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.06526/1.578, allocations: 17.77 MB / 1.324 GB, free: 3.535 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.585e-06/1.578, allocations: 0 / 1.324 GB, free: 3.535 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.216e-05/1.578, allocations: 4 kB / 1.324 GB, free: 3.531 MB / 0.823 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.0005324/1.578, allocations: 366.7 kB / 1.324 GB, free: 3.129 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/1.578, allocations: 8.031 kB / 1.324 GB, free: 3.121 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/1.579, allocations: 30.56 kB / 1.324 GB, free: 3.082 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/1.579, allocations: 7.953 kB / 1.324 GB, free: 3.074 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/1.579, allocations: 170.5 kB / 1.324 GB, free: 2.871 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.412e-05/1.579, allocations: 33.64 kB / 1.324 GB, free: 2.832 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/1.579, allocations: 0 / 1.324 GB, free: 2.832 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/1.579, allocations: 41.69 kB / 1.324 GB, free: 2.785 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.579, allocations: 0 / 1.324 GB, free: 2.785 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/1.579, allocations: 3.5 kB / 1.324 GB, free: 2.785 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/1.579, allocations: 0 / 1.324 GB, free: 2.785 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.637e-05/1.579, allocations: 15.92 kB / 1.324 GB, free: 2.77 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/1.58, allocations: 333.4 kB / 1.325 GB, free: 2.383 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/1.58, allocations: 18.39 kB / 1.325 GB, free: 2.359 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/1.58, allocations: 85.17 kB / 1.325 GB, free: 2.258 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/1.58, allocations: 40.23 kB / 1.325 GB, free: 2.211 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 3.036e-06/1.58, allocations: 0 / 1.325 GB, free: 2.211 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001982/1.58, allocations: 41.5 kB / 1.325 GB, free: 2.164 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/1.58, allocations: 51.41 kB / 1.325 GB, free: 2.102 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/1.58, allocations: 104.5 kB / 1.325 GB, free: 1.996 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/1.58, allocations: 25.83 kB / 1.325 GB, free: 1.965 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/1.581, allocations: 88.05 kB / 1.325 GB, free: 1.875 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/1.581, allocations: 3.625 kB / 1.325 GB, free: 1.875 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/1.581, allocations: 7.938 kB / 1.325 GB, free: 1.867 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.581, allocations: 310.8 kB / 1.325 GB, free: 1.555 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/1.581, allocations: 0 / 1.325 GB, free: 1.555 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/1.581, allocations: 21.27 kB / 1.326 GB, free: 1.531 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/1.581, allocations: 8 kB / 1.326 GB, free: 1.523 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.581, allocations: 0 / 1.326 GB, free: 1.523 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001167/1.581, allocations: 53.38 kB / 1.326 GB, free: 1.469 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.581, allocations: 4 kB / 1.326 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/1.581, allocations: 0 / 1.326 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.581, allocations: 0 / 1.326 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/1.581, allocations: 8 kB / 1.326 GB, free: 1.457 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.517e-06/1.581, allocations: 7.953 kB / 1.326 GB, free: 1.449 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/1.581, allocations: 0 / 1.326 GB, free: 1.449 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/1.581, allocations: 3.984 kB / 1.326 GB, free: 1.445 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 0.0001072/1.581, allocations: 125.6 kB / 1.326 GB, free: 1.316 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/1.581, allocations: 3.906 kB / 1.326 GB, free: 1.312 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/1.582, allocations: 115.1 kB / 1.326 GB, free: 1.195 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.568e-05/1.582, allocations: 176.3 kB / 1.326 GB, free: 1.016 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.562e-05/1.582, allocations: 188.2 kB / 1.326 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-05/1.582, allocations: 187.8 kB / 1.326 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/1.582, allocations: 405.2 kB / 1.327 GB, free: 188 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.331e-05/1.582, allocations: 108.4 kB / 1.327 GB, free: 76 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.727e-05/1.582, allocations: 101 kB / 1.327 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.118e-05/1.582, allocations: 180.2 kB / 1.327 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.999e-05/1.583, allocations: 184.2 kB / 1.327 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.132e-05/1.583, allocations: 188.2 kB / 1.327 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.482e-05/1.583, allocations: 176.3 kB / 1.328 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/1.583, allocations: 307.2 kB / 1.328 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/1.583, allocations: 189.5 kB / 1.328 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/1.583, allocations: 184.2 kB / 1.328 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/1.583, allocations: 109 kB / 1.328 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.584, allocations: 180.2 kB / 1.329 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/1.584, allocations: 102.3 kB / 1.329 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.187e-05/1.584, allocations: 86.84 kB / 1.329 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.6e-07/1.584, allocations: 0 / 1.329 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003723/1.584, allocations: 27.61 kB / 1.329 GB, free: 14 MB / 0.8386 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 (0): * Single equations (assignments): 0 * 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.0007391/1.585, allocations: 0.8587 MB / 1.33 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001061/1.585, allocations: 15.98 kB / 1.33 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.585, allocations: 0 / 1.33 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-06/1.585, allocations: 0 / 1.33 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/1.586, allocations: 0.522 MB / 1.33 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/1.586, allocations: 233.8 kB / 1.33 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/1.586, allocations: 0.677 MB / 1.331 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.765e-05/1.586, allocations: 7.984 kB / 1.331 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/1.587, allocations: 11.44 kB / 1.331 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of SimCode: time 7.72e-07/1.587, allocations: 0 / 1.331 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/1.61, allocations: 1.977 MB / 1.333 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003002/1.611, allocations: 203.9 kB / 1.333 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/3.995, allocations: 0 / 1.333 GB, free: 9.547 MB / 0.8386 GB