Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.214/2.214, allocations: 252.6 MB / 265.2 MB, free: 5.699 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.0015, allocations: 174.7 kB / 324.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.4 MB / 0.5754 GB, free: 10.34 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 93.34 kB / 0.6797 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.958e-05/3.991e-05, allocations: 4 kB / 0.7911 GB, free: 96.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2078, allocations: 106.2 MB / 0.8949 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.826/2.034, allocations: 369.8 MB / 1.256 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/2.034, allocations: 66.41 kB / 1.256 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04816/2.083, allocations: 11.68 MB / 1.268 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.184e-06/2.083, allocations: 3.938 kB / 1.268 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.069e-05/2.083, allocations: 1.062 kB / 1.268 GB, free: 246.8 MB / 0.8542 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.0003738/2.083, allocations: 330.8 kB / 1.268 GB, free: 246.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/2.083, allocations: 9.438 kB / 1.268 GB, free: 246.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/2.083, allocations: 6.609 kB / 1.268 GB, free: 246.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/2.083, allocations: 162 kB / 1.268 GB, free: 246.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.86e-05/2.083, allocations: 32.33 kB / 1.268 GB, free: 246.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/2.083, allocations: 0 / 1.268 GB, free: 246.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/2.084, allocations: 44.38 kB / 1.268 GB, free: 246.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/2.084, allocations: 0 / 1.268 GB, free: 246.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/2.084, allocations: 1.562 kB / 1.268 GB, free: 246.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/2.084, allocations: 1.547 kB / 1.268 GB, free: 246.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.451e-05/2.084, allocations: 16.75 kB / 1.268 GB, free: 246.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/2.084, allocations: 330.5 kB / 1.268 GB, free: 245.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.782e-05/2.084, allocations: 20.92 kB / 1.268 GB, free: 245.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/2.084, allocations: 8.109 kB / 1.268 GB, free: 245.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/2.085, allocations: 86.02 kB / 1.269 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/2.085, allocations: 31.94 kB / 1.269 GB, free: 245.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 2.254e-06/2.085, allocations: 0 / 1.269 GB, free: 245.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001722/2.085, allocations: 38.81 kB / 1.269 GB, free: 245.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/2.085, allocations: 54.97 kB / 1.269 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/2.085, allocations: 107 kB / 1.269 GB, free: 245.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/2.085, allocations: 25.7 kB / 1.269 GB, free: 245.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/2.085, allocations: 81.45 kB / 1.269 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.113e-05/2.085, allocations: 7.812 kB / 1.269 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/2.085, allocations: 0 / 1.269 GB, free: 245.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.985e-05/2.085, allocations: 314.4 kB / 1.269 GB, free: 245 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/2.085, allocations: 2.719 kB / 1.269 GB, free: 245 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.786e-05/2.085, allocations: 16.62 kB / 1.269 GB, free: 245 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.475e-05/2.085, allocations: 8.484 kB / 1.269 GB, free: 245 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/2.085, allocations: 4.906 kB / 1.269 GB, free: 245 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001398/2.086, allocations: 49.45 kB / 1.269 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/2.086, allocations: 5.281 kB / 1.269 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/2.086, allocations: 0 / 1.269 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/2.086, allocations: 1.25 kB / 1.269 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.235e-05/2.086, allocations: 4.406 kB / 1.269 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/2.086, allocations: 7.25 kB / 1.269 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/2.086, allocations: 15.47 kB / 1.269 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/2.086, allocations: 1.25 kB / 1.269 GB, free: 244.9 MB / 0.8542 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 () * 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.555e-05/2.086, allocations: 107 kB / 1.269 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/2.086, allocations: 0.9062 kB / 1.269 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/2.086, allocations: 121 kB / 1.269 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.342e-05/2.086, allocations: 189.6 kB / 1.27 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-05/2.086, allocations: 181.1 kB / 1.27 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.19e-05/2.086, allocations: 181.5 kB / 1.27 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/2.087, allocations: 410.3 kB / 1.27 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/2.087, allocations: 103.9 kB / 1.27 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/2.087, allocations: 106 kB / 1.271 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.305e-05/2.087, allocations: 179.9 kB / 1.271 GB, free: 243.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/2.087, allocations: 183.8 kB / 1.271 GB, free: 243.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.065e-05/2.087, allocations: 181.8 kB / 1.271 GB, free: 242.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.876e-05/2.087, allocations: 176.3 kB / 1.271 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/2.087, allocations: 312 kB / 1.272 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/2.087, allocations: 188.7 kB / 1.272 GB, free: 242.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.551e-05/2.087, allocations: 181.3 kB / 1.272 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/2.087, allocations: 109.5 kB / 1.272 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/2.088, allocations: 181.4 kB / 1.272 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/2.088, allocations: 102.5 kB / 1.272 GB, free: 241.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.361e-05/2.088, allocations: 90.42 kB / 1.272 GB, free: 241.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.81e-07/2.088, allocations: 0 / 1.272 GB, free: 241.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005706/2.088, allocations: 16.38 kB / 1.272 GB, free: 241.6 MB / 0.8542 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 (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.0003122/2.089, allocations: 207 kB / 1.273 GB, free: 241.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.923e-05/2.089, allocations: 11.09 kB / 1.273 GB, free: 241.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/2.089, allocations: 0 / 1.273 GB, free: 241.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.388e-06/2.089, allocations: 1.188 kB / 1.273 GB, free: 241.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/2.089, allocations: 0.5198 MB / 1.273 GB, free: 240.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/2.089, allocations: 138.9 kB / 1.273 GB, free: 240.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/2.09, allocations: 0.6861 MB / 1.274 GB, free: 240 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.331e-05/2.09, allocations: 3.344 kB / 1.274 GB, free: 240 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/2.09, allocations: 9.562 kB / 1.274 GB, free: 240 MB / 0.8542 GB Notification: Performance of SimCode: time 8.71e-07/2.09, allocations: 0 / 1.274 GB, free: 240 MB / 0.8542 GB Notification: Performance of Templates: time 0.005015/2.095, allocations: 0.8418 MB / 1.275 GB, free: 239.9 MB / 0.8542 GB