Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002466/0.002466, allocations: 357.6 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.269/1.269, allocations: 165.8 MB / 183.1 MB, free: 5.91 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.08/4.08, allocations: 410.7 MB / 0.6001 GB, free: 2.215 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001832/0.001832, allocations: 184.2 kB / 0.6668 GB, free: 14.06 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.000444, allocations: 12 kB / 0.7429 GB, free: 60 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4539, allocations: 67.44 MB / 0.8087 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7406/1.195, allocations: 303.2 MB / 1.105 GB, free: 176 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/1.195, allocations: 87.3 kB / 1.105 GB, free: 176 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02668/1.222, allocations: 7.741 MB / 1.112 GB, free: 174.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.104e-06/1.222, allocations: 1.062 kB / 1.112 GB, free: 174.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.222, allocations: 0.9375 kB / 1.112 GB, free: 174.5 MB / 0.5886 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.0003808/1.222, allocations: 350.9 kB / 1.113 GB, free: 174.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.222, allocations: 9.438 kB / 1.113 GB, free: 174.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/1.222, allocations: 5.688 kB / 1.113 GB, free: 174.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.121e-05/1.222, allocations: 169.7 kB / 1.113 GB, free: 173.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/1.222, allocations: 27.14 kB / 1.113 GB, free: 173.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/1.222, allocations: 1.406 kB / 1.113 GB, free: 173.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/1.223, allocations: 43.12 kB / 1.113 GB, free: 173.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.223, allocations: 0.875 kB / 1.113 GB, free: 173.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/1.223, allocations: 3.953 kB / 1.113 GB, free: 173.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/1.223, allocations: 3.281 kB / 1.113 GB, free: 173.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.484e-05/1.223, allocations: 10.73 kB / 1.113 GB, free: 173.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/1.223, allocations: 0.5802 MB / 1.114 GB, free: 173.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.116e-05/1.223, allocations: 20.92 kB / 1.114 GB, free: 173.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/1.223, allocations: 15.52 kB / 1.114 GB, free: 173.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/1.224, allocations: 345 kB / 1.114 GB, free: 172.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/1.224, allocations: 32.53 kB / 1.114 GB, free: 172.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/1.224, allocations: 0 / 1.114 GB, free: 172.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/1.224, allocations: 42.55 kB / 1.114 GB, free: 172.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/1.224, allocations: 53.06 kB / 1.114 GB, free: 172.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.277e-05/1.224, allocations: 105.9 kB / 1.114 GB, free: 172.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/1.224, allocations: 25.7 kB / 1.114 GB, free: 172.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/1.224, allocations: 88.89 kB / 1.114 GB, free: 172.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.715e-06/1.224, allocations: 6.625 kB / 1.114 GB, free: 172.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/1.224, allocations: 2.312 kB / 1.114 GB, free: 172.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.215e-05/1.224, allocations: 314.8 kB / 1.115 GB, free: 172.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/1.224, allocations: 4.812 kB / 1.115 GB, free: 172.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.78e-05/1.224, allocations: 22.64 kB / 1.115 GB, free: 172.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.911e-05/1.224, allocations: 5.125 kB / 1.115 GB, free: 172.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/1.224, allocations: 0 / 1.115 GB, free: 172.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.515e-05/1.224, allocations: 57.67 kB / 1.115 GB, free: 172 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.224, allocations: 4.312 kB / 1.115 GB, free: 172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/1.224, allocations: 2.031 kB / 1.115 GB, free: 172 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.224, allocations: 1.406 kB / 1.115 GB, free: 172 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.843e-05/1.224, allocations: 5.375 kB / 1.115 GB, free: 172 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.224, allocations: 2 kB / 1.115 GB, free: 172 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.859e-05/1.225, allocations: 5.312 kB / 1.115 GB, free: 172 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/1.225, allocations: 1.438 kB / 1.115 GB, free: 172 MB / 0.5886 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 6.159e-05/1.225, allocations: 117.4 kB / 1.115 GB, free: 171.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/1.225, allocations: 7.234 kB / 1.115 GB, free: 171.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/1.225, allocations: 117.3 kB / 1.115 GB, free: 171.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.912e-05/1.225, allocations: 180.6 kB / 1.115 GB, free: 171.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-05/1.225, allocations: 185.2 kB / 1.115 GB, free: 171.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.117e-05/1.225, allocations: 181.7 kB / 1.116 GB, free: 171.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/1.225, allocations: 408.4 kB / 1.116 GB, free: 170.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/1.225, allocations: 106.6 kB / 1.116 GB, free: 170.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/1.225, allocations: 102.9 kB / 1.116 GB, free: 170.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.153e-05/1.225, allocations: 183.3 kB / 1.116 GB, free: 170.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/1.225, allocations: 181.2 kB / 1.116 GB, free: 170.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.169e-05/1.225, allocations: 188.7 kB / 1.117 GB, free: 170 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-05/1.225, allocations: 178.5 kB / 1.117 GB, free: 169.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.926e-05/1.225, allocations: 311.4 kB / 1.117 GB, free: 169.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/1.225, allocations: 185.7 kB / 1.117 GB, free: 169.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/1.226, allocations: 183.5 kB / 1.117 GB, free: 169.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/1.226, allocations: 111.3 kB / 1.118 GB, free: 169 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/1.226, allocations: 186.2 kB / 1.118 GB, free: 168.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/1.226, allocations: 106 kB / 1.118 GB, free: 168.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.379e-05/1.226, allocations: 83.72 kB / 1.118 GB, free: 168.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/1.226, allocations: 0 / 1.118 GB, free: 168.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003883/1.226, allocations: 42.02 kB / 1.118 GB, free: 168.6 MB / 0.5886 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.0002909/1.227, allocations: 224.5 kB / 1.118 GB, free: 168.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.399e-05/1.227, allocations: 6.25 kB / 1.118 GB, free: 168.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.227, allocations: 1.094 kB / 1.118 GB, free: 168.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.589e-06/1.227, allocations: 6.531 kB / 1.118 GB, free: 168.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/1.227, allocations: 0.5214 MB / 1.119 GB, free: 167.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/1.227, allocations: 186 kB / 1.119 GB, free: 167.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/1.227, allocations: 0.6782 MB / 1.12 GB, free: 167 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.146e-05/1.228, allocations: 6.531 kB / 1.12 GB, free: 167 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/1.228, allocations: 13.48 kB / 1.12 GB, free: 167 MB / 0.5886 GB Notification: Performance of SimCode: time 8.32e-07/1.228, allocations: 0 / 1.12 GB, free: 167 MB / 0.5886 GB Notification: Performance of Templates: time 0.004522/1.232, allocations: 1.072 MB / 1.121 GB, free: 166.6 MB / 0.5886 GB