Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.75/4.75, allocations: 0.5623 GB / 0.5769 GB, free: 66.92 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00252/0.002519, allocations: 358.6 kB / 0.644 GB, free: 21.5 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.894/3.894, allocations: 410.7 MB / 1.112 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001775/0.001775, allocations: 190.2 kB / 1.225 GB, free: 9.566 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008461/0.0008465, allocations: 16 kB / 1.348 GB, free: 84.65 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1765, allocations: 115.3 MB / 1.461 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.6145/0.7911, allocations: 3.554 MB / 1.464 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002196/0.7913, allocations: 140.5 kB / 1.464 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.7914, allocations: 4 kB / 1.464 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.916e-05/0.7915, allocations: 5.594 kB / 1.464 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.7915, allocations: 6 kB / 1.464 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.7918, allocations: 55.39 kB / 1.464 GB, free: 10 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.173e-05/0.7919, allocations: 42.03 kB / 1.464 GB, free: 9.992 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.792, allocations: 5.625 kB / 1.464 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.358e-05/0.792, allocations: 18.08 kB / 1.464 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.397e-05/0.7921, allocations: 9.188 kB / 1.464 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.7921, allocations: 0 / 1.464 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.7923, allocations: 35.12 kB / 1.465 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.407e-05/0.7924, allocations: 8.469 kB / 1.465 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.872e-05/0.7924, allocations: 28.2 kB / 1.465 GB, free: 9.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.7925, allocations: 27.03 kB / 1.465 GB, free: 9.926 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.744e-06/0.7925, allocations: 0 / 1.465 GB, free: 9.926 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.07e-06/0.7925, allocations: 0 / 1.465 GB, free: 9.926 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.614e-06/0.7926, allocations: 5.438 kB / 1.465 GB, free: 9.922 MB / 0.6042 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.000291/0.7929, allocations: 324.5 kB / 1.465 GB, free: 9.574 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.7929, allocations: 10.33 kB / 1.465 GB, free: 9.574 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.793, allocations: 13.14 kB / 1.465 GB, free: 9.562 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.029e-05/0.793, allocations: 161.8 kB / 1.465 GB, free: 9.367 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.7931, allocations: 31.73 kB / 1.465 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.7931, allocations: 5.125 kB / 1.465 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.7933, allocations: 44.11 kB / 1.465 GB, free: 9.293 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.7933, allocations: 0.6562 kB / 1.465 GB, free: 9.293 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.7933, allocations: 0.5625 kB / 1.465 GB, free: 9.293 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.7934, allocations: 9.719 kB / 1.465 GB, free: 9.285 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/0.7934, allocations: 21.08 kB / 1.465 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.7938, allocations: 327.3 kB / 1.465 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.625e-05/0.7939, allocations: 17.36 kB / 1.465 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.7939, allocations: 7.281 kB / 1.465 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.684e-05/0.794, allocations: 83.42 kB / 1.466 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.7941, allocations: 43.86 kB / 1.466 GB, free: 8.738 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 2.251e-06/0.7941, allocations: 0 / 1.466 GB, free: 8.738 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.000151/0.7942, allocations: 37.92 kB / 1.466 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.7943, allocations: 52.28 kB / 1.466 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.394e-05/0.7944, allocations: 102.8 kB / 1.466 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.7944, allocations: 25.7 kB / 1.466 GB, free: 8.508 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.7944, allocations: 86.89 kB / 1.466 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.79e-06/0.7944, allocations: 1.391 kB / 1.466 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-06/0.7945, allocations: 0 / 1.466 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.913e-05/0.7945, allocations: 317.1 kB / 1.466 GB, free: 8.105 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.7945, allocations: 7.484 kB / 1.466 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.7946, allocations: 14.05 kB / 1.466 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.888e-05/0.7946, allocations: 8.984 kB / 1.466 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.439e-06/0.7946, allocations: 0.7188 kB / 1.466 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001033/0.7947, allocations: 53.36 kB / 1.466 GB, free: 8.043 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.7948, allocations: 9.375 kB / 1.466 GB, free: 8.039 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.269e-06/0.7948, allocations: 5.078 kB / 1.466 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.7948, allocations: 1.734 kB / 1.466 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.6e-05/0.7949, allocations: 9.031 kB / 1.466 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.645e-06/0.7949, allocations: 1.406 kB / 1.466 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.7949, allocations: 5.906 kB / 1.466 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.795, allocations: 1.547 kB / 1.466 GB, free: 8.027 MB / 0.6042 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 5.998e-05/0.795, allocations: 113.3 kB / 1.466 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.7951, allocations: 0.875 kB / 1.466 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.7952, allocations: 118.3 kB / 1.467 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.271e-05/0.7952, allocations: 186.4 kB / 1.467 GB, free: 7.605 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-05/0.7953, allocations: 185.4 kB / 1.467 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.978e-05/0.7953, allocations: 185.8 kB / 1.467 GB, free: 7.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.7955, allocations: 404.2 kB / 1.467 GB, free: 6.785 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/0.7955, allocations: 106.8 kB / 1.468 GB, free: 6.676 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.7956, allocations: 114.8 kB / 1.468 GB, free: 6.559 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.45e-05/0.7957, allocations: 178.5 kB / 1.468 GB, free: 6.379 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.653e-05/0.7958, allocations: 181.9 kB / 1.468 GB, free: 6.195 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.175e-05/0.7959, allocations: 177.6 kB / 1.468 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001094/0.796, allocations: 185.8 kB / 1.468 GB, free: 5.828 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.7962, allocations: 305.5 kB / 1.469 GB, free: 5.512 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.7963, allocations: 190.5 kB / 1.469 GB, free: 5.305 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.7964, allocations: 178.2 kB / 1.469 GB, free: 5.125 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.7966, allocations: 115.1 kB / 1.469 GB, free: 5.012 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.7966, allocations: 186.5 kB / 1.469 GB, free: 4.824 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.7967, allocations: 102.2 kB / 1.469 GB, free: 4.719 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.206e-05/0.7967, allocations: 89.78 kB / 1.469 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.69e-07/0.7967, allocations: 0.5625 kB / 1.469 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003416/0.7971, allocations: 16.33 kB / 1.469 GB, free: 4.637 MB / 0.6042 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.0001624/0.7973, allocations: 183.5 kB / 1.47 GB, free: 4.473 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.537e-05/0.7974, allocations: 15.89 kB / 1.47 GB, free: 4.465 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.794e-06/0.7974, allocations: 0 / 1.47 GB, free: 4.465 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.003e-06/0.7974, allocations: 1.344 kB / 1.47 GB, free: 4.465 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.7978, allocations: 0.5216 MB / 1.47 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.798, allocations: 190.3 kB / 1.47 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.7982, allocations: 0.6808 MB / 1.471 GB, free: 3.059 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.442e-05/0.7982, allocations: 5.078 kB / 1.471 GB, free: 3.059 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.7983, allocations: 9.984 kB / 1.471 GB, free: 3.051 MB / 0.6042 GB Notification: Performance of SimCode: time 1.408e-06/0.7983, allocations: 0 / 1.471 GB, free: 3.051 MB / 0.6042 GB Notification: Performance of Templates: time 0.003202/0.8015, allocations: 0.5097 MB / 1.472 GB, free: 2.973 MB / 0.6042 GB