Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") 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.34 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.003432/0.003432, allocations: 358.9 kB / 0.6446 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.261/4.261, allocations: 410.7 MB / 1.113 GB, free: 5.988 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.001859/0.001859, allocations: 193.3 kB / 1.226 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004978, allocations: 16 kB / 1.349 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7377/0.7382, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.9363, allocations: 138.4 MB / 1.596 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.9367, allocations: 83.94 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01744/0.9541, allocations: 3.442 MB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.609e-06/0.9542, allocations: 0 / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.9543, allocations: 5.375 kB / 1.6 GB, free: 142.3 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.0004484/0.9547, allocations: 339.3 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 8.448e-05/0.9548, allocations: 11.62 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.9549, allocations: 5.5 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.9551, allocations: 167 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.9551, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.9552, allocations: 1.656 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.9553, allocations: 33.7 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.9554, allocations: 3.938 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.9554, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.9554, allocations: 0.6562 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.31e-05/0.9555, allocations: 4 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.9558, allocations: 163 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.102e-05/0.9559, allocations: 19.11 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.9559, allocations: 10.17 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.956, allocations: 0 / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.956, allocations: 31.22 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 3.085e-06/0.956, allocations: 2.516 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.000204/0.9562, allocations: 53.53 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.9563, allocations: 53.59 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.255e-05/0.9564, allocations: 93.86 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.9564, allocations: 25.7 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/0.9565, allocations: 84.14 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.9565, allocations: 4.953 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.9565, allocations: 0 / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.9566, allocations: 316 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.534e-05/0.9567, allocations: 11.94 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.9567, allocations: 0 / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.315e-05/0.9567, allocations: 4.5 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9568, allocations: 0.6875 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001246/0.9569, allocations: 43.75 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.9569, allocations: 7.75 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.957, allocations: 3.938 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.957, allocations: 0 / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.9573, allocations: 12 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004937/0.9578, allocations: 0.5963 MB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.9579, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.9579, allocations: 0 / 1.602 GB, free: 140 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 0.0001067/0.9581, allocations: 108.2 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.9581, allocations: 4.031 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.9583, allocations: 48.75 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.9583, allocations: 0 / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.232e-05/0.9584, allocations: 0.875 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.9584, allocations: 3.953 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.9586, allocations: 151 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.9586, allocations: 3.984 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.9588, allocations: 8 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.9588, allocations: 0.9375 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.9589, allocations: 1.438 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003873/0.9593, allocations: 0.5869 MB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.9593, allocations: 7.922 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.9594, allocations: 66.86 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.9595, allocations: 84.14 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.9596, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.63e-05/0.9596, allocations: 3.953 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.9597, allocations: 3.984 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.9597, allocations: 4 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.885e-05/0.9598, allocations: 75.28 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.41e-07/0.9598, allocations: 0 / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005157/0.9603, allocations: 16.56 kB / 1.603 GB, free: 138.8 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.0002185/0.9606, allocations: 120.1 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.9608, allocations: 21.67 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9609, allocations: 0 / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.9611, allocations: 16.95 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.9615, allocations: 9.062 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.962, allocations: 101.2 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.9622, allocations: 0.677 MB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.9622, allocations: 1.938 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.9623, allocations: 7.438 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of SimCode: time 9.92e-07/0.9623, allocations: 0 / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.00421/0.9665, allocations: 427.5 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB