Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.061/5.061, allocations: 0.5623 GB / 0.5775 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002498/0.002498, allocations: 359 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.246/4.246, allocations: 410.7 MB / 1.113 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002091/0.002091, allocations: 193.3 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005698/0.0005701, allocations: 16 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.8114, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1994/1.011, allocations: 138.2 MB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.011, allocations: 87.94 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01026/1.021, allocations: 2.275 MB / 1.599 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.005e-06/1.022, allocations: 4 kB / 1.599 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.231e-06/1.022, allocations: 0 / 1.599 GB, free: 143.7 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002787/1.022, allocations: 337 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/1.022, allocations: 15.56 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/1.022, allocations: 0 / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.195e-05/1.022, allocations: 169.4 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/1.022, allocations: 7.984 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/1.022, allocations: 0 / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/1.022, allocations: 37.7 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.022, allocations: 0.7031 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/1.022, allocations: 0.875 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/1.022, allocations: 0 / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.166e-05/1.022, allocations: 4 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/1.022, allocations: 155.4 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.029e-05/1.022, allocations: 27.48 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/1.022, allocations: 5.359 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/1.023, allocations: 4.688 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/1.023, allocations: 39.81 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/1.023, allocations: 0 / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001376/1.023, allocations: 42.34 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/1.023, allocations: 56.09 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.581e-05/1.023, allocations: 98.58 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/1.023, allocations: 25.7 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.924e-05/1.023, allocations: 80.77 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/1.023, allocations: 5.766 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/1.023, allocations: 0 / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.762e-05/1.023, allocations: 322.8 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/1.023, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.182e-05/1.023, allocations: 5.625 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.966e-05/1.023, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.023, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.101e-05/1.023, allocations: 42.3 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.023, allocations: 12.98 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.023, allocations: 0 / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/1.023, allocations: 3.938 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/1.023, allocations: 12.44 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002878/1.024, allocations: 0.5846 MB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/1.024, allocations: 3.984 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/1.024, allocations: 32 / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.88e-05/1.024, allocations: 110.5 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/1.024, allocations: 4.094 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/1.024, allocations: 48.75 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/1.024, allocations: 0 / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.024, allocations: 0 / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.024, allocations: 7.953 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.645e-05/1.024, allocations: 145.7 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.024, allocations: 1.531 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/1.024, allocations: 11.98 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.024, allocations: 0 / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/1.024, allocations: 4 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002529/1.025, allocations: 0.5877 MB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.025, allocations: 3.469 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.365e-05/1.025, allocations: 65.09 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/1.025, allocations: 77.11 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/1.025, allocations: 7.938 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/1.025, allocations: 3.953 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/1.025, allocations: 5.672 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/1.025, allocations: 0.9375 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.471e-05/1.025, allocations: 83.94 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.51e-07/1.025, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002399/1.025, allocations: 9.25 kB / 1.602 GB, free: 140.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001742/1.025, allocations: 120 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002145/1.026, allocations: 18.36 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.026, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/1.026, allocations: 23.88 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/1.026, allocations: 3.984 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/1.026, allocations: 105.2 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/1.026, allocations: 0.677 MB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.929e-05/1.026, allocations: 3.312 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.384e-05/1.026, allocations: 7.438 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of SimCode: time 7.51e-07/1.026, allocations: 0 / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.002909/1.029, allocations: 434.2 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB