Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002689/0.002689, allocations: 356.3 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.311/1.311, allocations: 165.8 MB / 183.1 MB, free: 5.922 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.914/3.914, allocations: 410.7 MB / 0.6001 GB, free: 37.1 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001859/0.001858, allocations: 185.1 kB / 0.6668 GB, free: 1.805 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004549, allocations: 11.19 kB / 0.7429 GB, free: 73.87 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1216, allocations: 67.45 MB / 0.8087 GB, free: 17.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5644/0.6861, allocations: 98.8 MB / 0.9052 GB, free: 22.34 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.6864, allocations: 85.44 kB / 0.9053 GB, free: 22.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01609/0.7026, allocations: 3.441 MB / 0.9087 GB, free: 21.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.7026, allocations: 4.5 kB / 0.9087 GB, free: 21.87 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.7026, allocations: 0 / 0.9087 GB, free: 21.87 MB / 458.7 MB 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.0003183/0.703, allocations: 348.9 kB / 0.909 GB, free: 21.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.703, allocations: 7.375 kB / 0.909 GB, free: 21.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.7031, allocations: 6.516 kB / 0.909 GB, free: 21.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.252e-05/0.7032, allocations: 164.1 kB / 0.9092 GB, free: 21.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.7032, allocations: 1.5 kB / 0.9092 GB, free: 21.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.7032, allocations: 1.312 kB / 0.9092 GB, free: 21.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.181e-05/0.7033, allocations: 37.02 kB / 0.9092 GB, free: 21.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.7033, allocations: 6.031 kB / 0.9092 GB, free: 21.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.7034, allocations: 0 / 0.9092 GB, free: 21.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.7034, allocations: 4 kB / 0.9092 GB, free: 21.26 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.7e-05/0.7034, allocations: 12.5 kB / 0.9092 GB, free: 21.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.7036, allocations: 149.2 kB / 0.9094 GB, free: 21.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.413e-05/0.7036, allocations: 20.41 kB / 0.9094 GB, free: 21.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.7037, allocations: 13.08 kB / 0.9094 GB, free: 21.03 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.7037, allocations: 0 / 0.9094 GB, free: 21.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.7037, allocations: 37.03 kB / 0.9094 GB, free: 20.99 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.7037, allocations: 0 / 0.9094 GB, free: 20.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001378/0.7039, allocations: 45.78 kB / 0.9095 GB, free: 20.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.7039, allocations: 54.47 kB / 0.9095 GB, free: 20.89 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.008e-05/0.704, allocations: 94.22 kB / 0.9096 GB, free: 20.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.704, allocations: 25.7 kB / 0.9096 GB, free: 20.76 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.009e-05/0.704, allocations: 80.14 kB / 0.9097 GB, free: 20.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.7041, allocations: 10.98 kB / 0.9097 GB, free: 20.67 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.7041, allocations: 256 / 0.9097 GB, free: 20.67 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.7042, allocations: 320.1 kB / 0.91 GB, free: 20.35 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.7043, allocations: 1.594 kB / 0.91 GB, free: 20.35 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/0.7043, allocations: 2.062 kB / 0.91 GB, free: 20.35 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.156e-05/0.7043, allocations: 6.219 kB / 0.91 GB, free: 20.35 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7043, allocations: 0.9375 kB / 0.91 GB, free: 20.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.39e-05/0.7044, allocations: 40.27 kB / 0.9101 GB, free: 20.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.7044, allocations: 5.078 kB / 0.9101 GB, free: 20.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7044, allocations: 0 / 0.9101 GB, free: 20.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.7045, allocations: 8.047 kB / 0.9101 GB, free: 20.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.7047, allocations: 10.33 kB / 0.9101 GB, free: 20.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.7058, allocations: 0.5804 MB / 0.9107 GB, free: 35.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.7058, allocations: 0.5625 kB / 0.9107 GB, free: 35.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.7059, allocations: 5.656 kB / 0.9107 GB, free: 35.73 MB / 474.7 MB 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 9.606e-05/0.706, allocations: 116.2 kB / 0.9108 GB, free: 35.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.706, allocations: 8.656 kB / 0.9108 GB, free: 35.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.7061, allocations: 47 kB / 0.9108 GB, free: 35.56 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.7062, allocations: 2.375 kB / 0.9108 GB, free: 35.56 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7062, allocations: 0 / 0.9108 GB, free: 35.56 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.7062, allocations: 3.938 kB / 0.9108 GB, free: 35.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.7063, allocations: 152.7 kB / 0.911 GB, free: 35.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7063, allocations: 0 / 0.911 GB, free: 35.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.7065, allocations: 12.62 kB / 0.911 GB, free: 35.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.7065, allocations: 2.906 kB / 0.911 GB, free: 35.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.7065, allocations: 4.844 kB / 0.911 GB, free: 35.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004044/0.7069, allocations: 0.5832 MB / 0.9116 GB, free: 34.78 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.7069, allocations: 0 / 0.9116 GB, free: 34.78 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.903e-05/0.707, allocations: 64.56 kB / 0.9116 GB, free: 34.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.7071, allocations: 85.83 kB / 0.9117 GB, free: 34.61 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.7071, allocations: 0.75 kB / 0.9117 GB, free: 34.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.205e-05/0.7071, allocations: 4.75 kB / 0.9117 GB, free: 34.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.7072, allocations: 0.6094 kB / 0.9117 GB, free: 34.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.7072, allocations: 0.75 kB / 0.9117 GB, free: 34.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.808e-05/0.7072, allocations: 78.28 kB / 0.9118 GB, free: 34.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7072, allocations: 0 / 0.9118 GB, free: 34.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.7075, allocations: 13.56 kB / 0.9118 GB, free: 34.53 MB / 474.7 MB 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.0001912/0.7077, allocations: 119.5 kB / 0.9119 GB, free: 34.44 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.708, allocations: 19.81 kB / 0.9119 GB, free: 34.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.708, allocations: 0 / 0.9119 GB, free: 34.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.7081, allocations: 14.31 kB / 0.912 GB, free: 34.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.7083, allocations: 12.36 kB / 0.912 GB, free: 34.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.7087, allocations: 113.1 kB / 0.9121 GB, free: 34.32 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.709, allocations: 0.675 MB / 0.9127 GB, free: 33.62 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.884e-05/0.709, allocations: 0 / 0.9127 GB, free: 33.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.709, allocations: 9.781 kB / 0.9128 GB, free: 33.62 MB / 474.7 MB Notification: Performance of SimCode: time 6.31e-07/0.709, allocations: 0 / 0.9128 GB, free: 33.62 MB / 474.7 MB Notification: Performance of Templates: time 0.003047/0.7121, allocations: 426.3 kB / 0.9132 GB, free: 33.56 MB / 474.7 MB