Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.077/2.077, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001506, allocations: 185.6 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.4/2.4, allocations: 205.4 MB / 0.5766 GB, free: 21.1 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.001123/0.001123, allocations: 94.3 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004584, allocations: 13.03 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1993, allocations: 106.2 MB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2187/0.4181, allocations: 133.2 MB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.4185, allocations: 79.94 kB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02754/0.446, allocations: 5.326 MB / 1.034 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4461, allocations: 0 / 1.034 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.4461, allocations: 0 / 1.034 GB, free: 7.129 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004862/0.4466, allocations: 367.2 kB / 1.035 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4467, allocations: 12.03 kB / 1.035 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.4467, allocations: 7.938 kB / 1.035 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.4468, allocations: 159.1 kB / 1.035 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.4469, allocations: 3.938 kB / 1.035 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.4469, allocations: 4 kB / 1.035 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.447, allocations: 41.69 kB / 1.035 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4471, allocations: 0 / 1.035 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4471, allocations: 11.94 kB / 1.035 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.4471, allocations: 0 / 1.035 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.935e-05/0.4472, allocations: 15.94 kB / 1.035 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.4476, allocations: 249 kB / 1.035 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.4478, allocations: 50.56 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.4479, allocations: 0 / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.4479, allocations: 42.5 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.4479, allocations: 0 / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002157/0.4481, allocations: 61.64 kB / 1.035 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.4482, allocations: 51.41 kB / 1.035 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.283e-05/0.4483, allocations: 96.92 kB / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.4483, allocations: 25.7 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.4484, allocations: 84.08 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.4484, allocations: 15.81 kB / 1.035 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.4484, allocations: 4 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4485, allocations: 310.8 kB / 1.036 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.07e-05/0.4486, allocations: 11.98 kB / 1.036 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.4486, allocations: 21.72 kB / 1.036 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.616e-05/0.4487, allocations: 4 kB / 1.036 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4487, allocations: 0 / 1.036 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001315/0.4488, allocations: 61.62 kB / 1.036 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4489, allocations: 8.031 kB / 1.036 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4489, allocations: 0 / 1.036 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4489, allocations: 0 / 1.036 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.581e-05/0.449, allocations: 11.98 kB / 1.036 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.449, allocations: 3.953 kB / 1.036 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.4491, allocations: 4 kB / 1.036 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.4491, allocations: 0 / 1.036 GB, free: 5.207 MB / 0.6823 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 (5): * Single equations (assignments): 5 * 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 8.398e-05/0.4492, allocations: 109.8 kB / 1.036 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.4492, allocations: 7.906 kB / 1.036 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.4494, allocations: 73.52 kB / 1.036 GB, free: 5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4495, allocations: 0 / 1.036 GB, free: 5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4495, allocations: 0 / 1.036 GB, free: 5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.4495, allocations: 7.984 kB / 1.036 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.4497, allocations: 157.6 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4497, allocations: 0 / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.4498, allocations: 8 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.4498, allocations: 4.062 kB / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.4498, allocations: 4 kB / 1.036 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4498, allocations: 0 / 1.036 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4498, allocations: 4 kB / 1.036 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.45, allocations: 155.4 kB / 1.036 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.4501, allocations: 92.94 kB / 1.037 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.4501, allocations: 0 / 1.037 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.4502, allocations: 0 / 1.037 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.4502, allocations: 4 kB / 1.037 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.4502, allocations: 4 kB / 1.037 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.376e-05/0.4503, allocations: 79.28 kB / 1.037 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4503, allocations: 0 / 1.037 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003448/0.4506, allocations: 23.98 kB / 1.037 GB, free: 4.383 MB / 0.6823 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 (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 Backend phase and start with SimCode phase: time 0.0002325/0.4509, allocations: 135.1 kB / 1.037 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.451, allocations: 27.92 kB / 1.037 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.451, allocations: 0 / 1.037 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.4511, allocations: 8 kB / 1.037 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.4513, allocations: 0 / 1.037 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.4516, allocations: 136.7 kB / 1.037 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.4519, allocations: 0.6809 MB / 1.038 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.031e-05/0.4519, allocations: 0 / 1.038 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.452, allocations: 11.44 kB / 1.038 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of SimCode: time 1.142e-06/0.452, allocations: 4 kB / 1.038 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of Templates: time 0.003239/0.4552, allocations: 478.6 kB / 1.038 GB, free: 2.855 MB / 0.6823 GB