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.22/2.22, allocations: 253.2 MB / 260.6 MB, free: 7.422 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.001504/0.001504, allocations: 196.8 kB / 319.9 MB, free: 3.066 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.24/2.24, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001065/0.001065, allocations: 78.77 kB / 0.6751 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.987e-05/1.991e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1976, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8552/1.053, allocations: 133.4 MB / 1.019 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003803/1.053, allocations: 83.45 kB / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03612/1.089, allocations: 5.286 MB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.428e-06/1.09, allocations: 7.984 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.283e-06/1.09, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.6511 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.0005509/1.09, allocations: 361 kB / 1.025 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/1.09, allocations: 8.031 kB / 1.025 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/1.09, allocations: 7.891 kB / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/1.09, allocations: 171 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/1.09, allocations: 3.984 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/1.091, allocations: 0 / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000115/1.091, allocations: 12 kB / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/1.091, allocations: 40.88 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.091, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/1.091, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/1.091, allocations: 7.953 kB / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/1.091, allocations: 222.6 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/1.092, allocations: 44.95 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/1.092, allocations: 19.67 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/1.092, allocations: 4.078 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/1.092, allocations: 30.56 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/1.092, allocations: 0 / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0002278/1.092, allocations: 51.44 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/1.092, allocations: 59.39 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.959e-05/1.092, allocations: 89.88 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/1.092, allocations: 29.7 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/1.092, allocations: 95.52 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/1.092, allocations: 7.812 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/1.092, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.093, allocations: 314.8 kB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.565e-05/1.093, allocations: 7.188 kB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.443e-05/1.093, allocations: 20.78 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.673e-05/1.093, allocations: 8 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.093, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001751/1.093, allocations: 55.75 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.093, allocations: 7.938 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.093, allocations: 8 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.093, allocations: 0 / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/1.093, allocations: 11.98 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.093, allocations: 0 / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/1.093, allocations: 3.953 kB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/1.093, allocations: 4 kB / 1.026 GB, free: 13.72 MB / 0.6511 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 (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 9.614e-05/1.093, allocations: 105 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/1.094, allocations: 3.906 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/1.094, allocations: 56.91 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/1.094, allocations: 3.938 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.094, allocations: 3.984 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/1.094, allocations: 4.031 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/1.094, allocations: 137.6 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.094, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/1.094, allocations: 15.98 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.094, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/1.094, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.094, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.094, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/1.095, allocations: 146.3 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/1.095, allocations: 81.02 kB / 1.026 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/1.095, allocations: 0 / 1.026 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/1.095, allocations: 4 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/1.095, allocations: 7.984 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/1.095, allocations: 0 / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.814e-05/1.095, allocations: 79.28 kB / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.228e-06/1.095, allocations: 3.938 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005759/1.096, allocations: 23.94 kB / 1.026 GB, free: 12.98 MB / 0.6511 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 (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.0003178/1.096, allocations: 126.8 kB / 1.027 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001378/1.096, allocations: 18.92 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.096, allocations: 4.062 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.999e-05/1.096, allocations: 15.06 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/1.096, allocations: 6.453 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/1.097, allocations: 67.61 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/1.097, allocations: 0.6807 MB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.02e-05/1.097, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/1.097, allocations: 11.44 kB / 1.027 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/1.097, allocations: 0 / 1.027 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of Templates: time 0.004095/1.101, allocations: 486.4 kB / 1.028 GB, free: 11.54 MB / 0.6511 GB