Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.001619, allocations: 188.1 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6804/0.6804, allocations: 82.92 MB / 99.41 MB, free: 3.234 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.523/2.523, allocations: 205.4 MB / 325.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001048, allocations: 90.69 kB / 393.6 MB, free: 36 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008308/0.000831, allocations: 12 kB / 471.5 MB, free: 66.7 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09055/0.09142, allocations: 67.44 MB / 0.5264 GB, free: 15.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001519/0.09297, allocations: 0.9586 MB / 0.5273 GB, free: 14.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006215/0.09362, allocations: 292.9 kB / 0.5276 GB, free: 13.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.373e-05/0.09365, allocations: 0 / 0.5276 GB, free: 13.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.09368, allocations: 4 kB / 0.5276 GB, free: 13.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.746e-05/0.09373, allocations: 3.984 kB / 0.5276 GB, free: 13.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.09407, allocations: 63.78 kB / 0.5276 GB, free: 13.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.229e-05/0.09413, allocations: 11.92 kB / 0.5276 GB, free: 13.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.565e-05/0.09417, allocations: 0 / 0.5276 GB, free: 13.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.843e-05/0.0942, allocations: 4 kB / 0.5277 GB, free: 13.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.495e-05/0.09425, allocations: 0 / 0.5277 GB, free: 13.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.09427, allocations: 0 / 0.5277 GB, free: 13.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.09463, allocations: 179.7 kB / 0.5278 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.06e-06/0.09465, allocations: 0 / 0.5278 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.0947, allocations: 33.7 kB / 0.5279 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.09485, allocations: 56.09 kB / 0.5279 GB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.59e-06/0.09486, allocations: 0 / 0.5279 GB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.91e-06/0.09487, allocations: 0 / 0.5279 GB, free: 13.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.936e-06/0.09489, allocations: 0 / 0.5279 GB, free: 13.61 MB / 378.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.0003808/0.09527, allocations: 331.4 kB / 0.5282 GB, free: 13.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.09534, allocations: 12.03 kB / 0.5282 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.09538, allocations: 7.844 kB / 0.5282 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.09555, allocations: 163.1 kB / 0.5284 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.09558, allocations: 7.938 kB / 0.5284 GB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.0956, allocations: 0 / 0.5284 GB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.502e-05/0.0957, allocations: 37.64 kB / 0.5284 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.4e-06/0.09572, allocations: 0 / 0.5284 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-06/0.09574, allocations: 0 / 0.5284 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-06/0.09575, allocations: 0 / 0.5284 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.604e-05/0.09578, allocations: 4 kB / 0.5284 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.09598, allocations: 153.7 kB / 0.5286 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.676e-05/0.09606, allocations: 30.55 kB / 0.5286 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.09609, allocations: 0 / 0.5286 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.09613, allocations: 34.62 kB / 0.5287 GB, free: 12.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.74e-06/0.09614, allocations: 0 / 0.5287 GB, free: 12.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001427/0.09629, allocations: 41.64 kB / 0.5287 GB, free: 12.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.09634, allocations: 51.41 kB / 0.5287 GB, free: 12.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.09644, allocations: 102 kB / 0.5288 GB, free: 12.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.09647, allocations: 25.7 kB / 0.5289 GB, free: 12.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.09652, allocations: 80.14 kB / 0.5289 GB, free: 12.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.09656, allocations: 3.906 kB / 0.5289 GB, free: 12.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-06/0.09657, allocations: 0 / 0.5289 GB, free: 12.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.09674, allocations: 318.8 kB / 0.5293 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/0.09677, allocations: 7.922 kB / 0.5293 GB, free: 12.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.294e-05/0.09679, allocations: 4 kB / 0.5293 GB, free: 12.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.839e-05/0.09682, allocations: 192 / 0.5293 GB, free: 12.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.369e-06/0.09684, allocations: 4 kB / 0.5293 GB, free: 12.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.776e-05/0.09693, allocations: 37.7 kB / 0.5293 GB, free: 11.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.09696, allocations: 8.781 kB / 0.5293 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.695e-06/0.09698, allocations: 0 / 0.5293 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.097, allocations: 0 / 0.5293 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.09718, allocations: 15.94 kB / 0.5293 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004882/0.09768, allocations: 0.5821 MB / 0.5299 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/0.09773, allocations: 4.125 kB / 0.5299 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-06/0.09775, allocations: 0 / 0.5299 GB, free: 11.34 MB / 378.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 0.0001016/0.09786, allocations: 109.9 kB / 0.53 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.09789, allocations: 11.84 kB / 0.53 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.09803, allocations: 48.7 kB / 0.5301 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.424e-06/0.09804, allocations: 0 / 0.5301 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.522e-06/0.09806, allocations: 3.984 kB / 0.5301 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.33e-06/0.09807, allocations: 4.031 kB / 0.5301 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.09822, allocations: 153.7 kB / 0.5302 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-06/0.09824, allocations: 0 / 0.5302 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.09835, allocations: 15.92 kB / 0.5302 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.28e-06/0.09837, allocations: 3.953 kB / 0.5302 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.838e-06/0.09838, allocations: 0 / 0.5302 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004254/0.09882, allocations: 0.5821 MB / 0.5308 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/0.09884, allocations: 3.984 kB / 0.5308 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.09895, allocations: 69.2 kB / 0.5309 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.09903, allocations: 77.11 kB / 0.5309 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.09905, allocations: 7.938 kB / 0.531 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.316e-05/0.09909, allocations: 4 kB / 0.531 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.09911, allocations: 0 / 0.531 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.09915, allocations: 4 kB / 0.531 GB, free: 10.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.134e-05/0.09923, allocations: 87.3 kB / 0.531 GB, free: 10.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.56e-07/0.09925, allocations: 0 / 0.531 GB, free: 10.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004975/0.09976, allocations: 11.94 kB / 0.5311 GB, free: 10.02 MB / 378.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.0002461/0.1, allocations: 104.5 kB / 0.5312 GB, free: 9.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000287/0.1003, allocations: 15.98 kB / 0.5312 GB, free: 9.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1004, allocations: 0 / 0.5312 GB, free: 9.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.1005, allocations: 20.14 kB / 0.5312 GB, free: 9.879 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.1007, allocations: 9.047 kB / 0.5312 GB, free: 9.871 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.1012, allocations: 111.1 kB / 0.5313 GB, free: 9.734 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.1016, allocations: 0.6731 MB / 0.532 GB, free: 9.035 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.91e-05/0.1016, allocations: 0 / 0.532 GB, free: 9.035 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.1017, allocations: 11.44 kB / 0.532 GB, free: 9.023 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.1017, allocations: 4 kB / 0.532 GB, free: 9.02 MB / 378.7 MB Notification: Performance of Templates: time 0.002755/0.1044, allocations: 427 kB / 0.5324 GB, free: 8.613 MB / 378.7 MB