Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.657/2.657, allocations: 287.9 MB / 302.9 MB, free: 8.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001427, allocations: 183.8 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 86.98 kB / 0.7434 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004708, allocations: 11.06 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1595, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7284/0.8879, allocations: 125.2 MB / 1.101 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0002383/0.8882, allocations: 132.4 kB / 1.101 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.86e-05/0.8882, allocations: 0 / 1.101 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 9.612e-05/0.8884, allocations: 2.203 kB / 1.101 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 3.555e-05/0.8884, allocations: 10.34 kB / 1.101 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.889, allocations: 142.8 kB / 1.101 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 5.282e-05/0.889, allocations: 17.33 kB / 1.101 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.8891, allocations: 5.375 kB / 1.101 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.8891, allocations: 12.34 kB / 1.101 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.8892, allocations: 8.062 kB / 1.101 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.8892, allocations: 3.125 kB / 1.101 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.8896, allocations: 102.5 kB / 1.101 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.8896, allocations: 9.031 kB / 1.101 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.683e-05/0.8897, allocations: 34.25 kB / 1.102 GB, free: 18.29 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.8899, allocations: 49.75 kB / 1.102 GB, free: 18.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.002e-06/0.8899, allocations: 0 / 1.102 GB, free: 18.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.838e-06/0.8899, allocations: 0 / 1.102 GB, free: 18.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.988e-06/0.8899, allocations: 4 kB / 1.102 GB, free: 18.29 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003932/0.8903, allocations: 335.1 kB / 1.102 GB, free: 17.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.8904, allocations: 8.25 kB / 1.102 GB, free: 17.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.8908, allocations: 26.22 kB / 1.102 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.8909, allocations: 166.6 kB / 1.102 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.071e-05/0.891, allocations: 28.94 kB / 1.102 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.961e-06/0.891, allocations: 2.219 kB / 1.102 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.8912, allocations: 52.81 kB / 1.102 GB, free: 17.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.977e-06/0.8912, allocations: 0 / 1.102 GB, free: 17.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.8912, allocations: 1.375 kB / 1.102 GB, free: 17.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.8913, allocations: 7.531 kB / 1.102 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.483e-05/0.8914, allocations: 23.45 kB / 1.102 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.8917, allocations: 255 kB / 1.102 GB, free: 17.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.288e-05/0.8918, allocations: 28.92 kB / 1.102 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.8919, allocations: 2.75 kB / 1.102 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.8919, allocations: 39.83 kB / 1.102 GB, free: 17.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.157e-06/0.8919, allocations: 0 / 1.102 GB, free: 17.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002809/0.8922, allocations: 57.53 kB / 1.103 GB, free: 17.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.8923, allocations: 52.78 kB / 1.103 GB, free: 17.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.79e-05/0.8924, allocations: 108.4 kB / 1.103 GB, free: 17.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.8924, allocations: 27.83 kB / 1.103 GB, free: 17.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.8925, allocations: 87.39 kB / 1.103 GB, free: 17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.8925, allocations: 10.11 kB / 1.103 GB, free: 17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-06/0.8925, allocations: 0 / 1.103 GB, free: 17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.8927, allocations: 312.2 kB / 1.103 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.8927, allocations: 9.328 kB / 1.103 GB, free: 16.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.8927, allocations: 20.88 kB / 1.103 GB, free: 16.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.8928, allocations: 9.5 kB / 1.103 GB, free: 16.67 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.629e-06/0.8928, allocations: 3.938 kB / 1.103 GB, free: 16.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001216/0.8929, allocations: 53.86 kB / 1.103 GB, free: 16.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.8929, allocations: 5.5 kB / 1.103 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.95e-06/0.893, allocations: 11.81 kB / 1.103 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.893, allocations: 1.375 kB / 1.103 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.044e-05/0.8931, allocations: 8.172 kB / 1.103 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.993e-06/0.8931, allocations: 6.016 kB / 1.103 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.8931, allocations: 1.375 kB / 1.103 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.8931, allocations: 5.406 kB / 1.103 GB, free: 16.62 MB / 0.698 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 (4): * Single equations (assignments): 4 * 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 9.531e-05/0.8932, allocations: 110.3 kB / 1.103 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.8933, allocations: 5.281 kB / 1.103 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.8933, allocations: 12.56 kB / 1.103 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.044e-06/0.8933, allocations: 5.328 kB / 1.103 GB, free: 16.49 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.094e-06/0.8934, allocations: 0 / 1.103 GB, free: 16.49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.902e-06/0.8934, allocations: 0 / 1.103 GB, free: 16.49 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.8938, allocations: 365.1 kB / 1.104 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.8938, allocations: 1.375 kB / 1.104 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.8938, allocations: 9.891 kB / 1.104 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.312e-06/0.8938, allocations: 1.375 kB / 1.104 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-06/0.8939, allocations: 0 / 1.104 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.8939, allocations: 1.375 kB / 1.104 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8939, allocations: 2.953 kB / 1.104 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.894, allocations: 96.75 kB / 1.104 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.8941, allocations: 78.48 kB / 1.104 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.8941, allocations: 1.375 kB / 1.104 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.8942, allocations: 7.031 kB / 1.104 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.8942, allocations: 1.375 kB / 1.104 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-06/0.8942, allocations: 1.375 kB / 1.104 GB, free: 15.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.427e-05/0.8943, allocations: 86.02 kB / 1.104 GB, free: 15.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.27e-07/0.8943, allocations: 7.938 kB / 1.104 GB, free: 15.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002575/0.8946, allocations: 6.875 kB / 1.104 GB, free: 15.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001424/0.8947, allocations: 97.12 kB / 1.104 GB, free: 15.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.148e-05/0.8948, allocations: 16.55 kB / 1.104 GB, free: 15.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.867e-06/0.8949, allocations: 5.312 kB / 1.104 GB, free: 15.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.098e-05/0.8949, allocations: 4.25 kB / 1.104 GB, free: 15.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.8951, allocations: 21.34 kB / 1.104 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.8954, allocations: 128.8 kB / 1.104 GB, free: 15.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.8957, allocations: 0.6768 MB / 1.105 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.317e-05/0.8958, allocations: 10.33 kB / 1.105 GB, free: 14.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.8959, allocations: 8.812 kB / 1.105 GB, free: 14.89 MB / 0.698 GB Notification: Performance of SimCode: time 1.476e-06/0.8959, allocations: 5.312 kB / 1.105 GB, free: 14.89 MB / 0.698 GB Notification: Performance of Templates: time 0.002923/0.8988, allocations: 0.5123 MB / 1.105 GB, free: 14.83 MB / 0.698 GB