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.001411/0.001411, allocations: 184.1 kB / 15.76 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.7231/0.7231, allocations: 82.93 MB / 99.42 MB, free: 3.34 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.291/2.291, allocations: 205.4 MB / 325.4 MB, free: 3.344 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.001537/0.001537, allocations: 98.3 kB / 393.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005399/0.0005402, allocations: 12 kB / 471.5 MB, free: 66.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09066/0.09123, allocations: 67.45 MB / 0.5264 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001518/0.0928, allocations: 0.9509 MB / 0.5273 GB, free: 14.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006952/0.09352, allocations: 324.8 kB / 0.5276 GB, free: 13.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.606e-05/0.09356, allocations: 4 kB / 0.5276 GB, free: 13.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.117e-05/0.09359, allocations: 0 / 0.5276 GB, free: 13.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.436e-05/0.09364, allocations: 11.97 kB / 0.5276 GB, free: 13.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.09401, allocations: 63.78 kB / 0.5277 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.764e-05/0.09406, allocations: 4 kB / 0.5277 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.314e-05/0.09411, allocations: 0 / 0.5277 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.862e-05/0.09413, allocations: 4 kB / 0.5277 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.44e-05/0.09419, allocations: 19.91 kB / 0.5277 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.09421, allocations: 0 / 0.5277 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.09458, allocations: 175.7 kB / 0.5279 GB, free: 13.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.09461, allocations: 3.938 kB / 0.5279 GB, free: 13.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.09465, allocations: 33.62 kB / 0.5279 GB, free: 13.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.09481, allocations: 52.17 kB / 0.528 GB, free: 13.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.202e-06/0.09483, allocations: 0 / 0.528 GB, free: 13.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.09484, allocations: 0 / 0.528 GB, free: 13.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.902e-06/0.09485, allocations: 0 / 0.528 GB, free: 13.42 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.0003886/0.09525, allocations: 327.4 kB / 0.5283 GB, free: 13.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.0953, allocations: 12.03 kB / 0.5283 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.09534, allocations: 7.906 kB / 0.5283 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.0955, allocations: 171 kB / 0.5284 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.09553, allocations: 0 / 0.5284 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-06/0.09554, allocations: 0 / 0.5284 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.312e-05/0.09565, allocations: 37.64 kB / 0.5285 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.09566, allocations: 0 / 0.5285 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-06/0.09568, allocations: 0 / 0.5285 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.09569, allocations: 0 / 0.5285 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.105e-05/0.09573, allocations: 11.94 kB / 0.5285 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.09593, allocations: 153.7 kB / 0.5286 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.664e-05/0.096, allocations: 18.61 kB / 0.5287 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.09605, allocations: 4 kB / 0.5287 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.09609, allocations: 34.62 kB / 0.5287 GB, free: 12.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.839e-06/0.0961, allocations: 0 / 0.5287 GB, free: 12.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.000153/0.09626, allocations: 49.58 kB / 0.5287 GB, free: 12.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.09631, allocations: 51.41 kB / 0.5288 GB, free: 12.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.09641, allocations: 97.86 kB / 0.5289 GB, free: 12.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.09644, allocations: 25.7 kB / 0.5289 GB, free: 12.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.0965, allocations: 80.14 kB / 0.529 GB, free: 12.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.09653, allocations: 3.906 kB / 0.529 GB, free: 12.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.09654, allocations: 0 / 0.529 GB, free: 12.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.09671, allocations: 322.8 kB / 0.5293 GB, free: 11.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.09674, allocations: 4.25 kB / 0.5293 GB, free: 11.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.09676, allocations: 7.938 kB / 0.5293 GB, free: 11.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.859e-05/0.09679, allocations: 0 / 0.5293 GB, free: 11.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.057e-06/0.0968, allocations: 0 / 0.5293 GB, free: 11.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.763e-05/0.09691, allocations: 41.64 kB / 0.5294 GB, free: 11.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.09694, allocations: 8 kB / 0.5294 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.557e-06/0.09695, allocations: 0 / 0.5294 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.09697, allocations: 0 / 0.5294 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.09715, allocations: 15.94 kB / 0.5294 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004825/0.09766, allocations: 0.5822 MB / 0.5299 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.0977, allocations: 0 / 0.5299 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-06/0.09772, allocations: 3.938 kB / 0.5299 GB, free: 11.14 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.0001013/0.09783, allocations: 113.9 kB / 0.5301 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.09786, allocations: 7.859 kB / 0.5301 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.09799, allocations: 48.86 kB / 0.5301 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.293e-06/0.09801, allocations: 0 / 0.5301 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.589e-06/0.09803, allocations: 3.984 kB / 0.5301 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.325e-06/0.09804, allocations: 0 / 0.5301 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.09819, allocations: 149.7 kB / 0.5303 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-06/0.09821, allocations: 0 / 0.5303 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.09832, allocations: 11.98 kB / 0.5303 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.182e-06/0.09834, allocations: 3.953 kB / 0.5303 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.09835, allocations: 0 / 0.5303 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004522/0.09881, allocations: 0.59 MB / 0.5308 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.388e-06/0.09883, allocations: 3.938 kB / 0.5308 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.964e-05/0.09894, allocations: 65.08 kB / 0.5309 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.09901, allocations: 77.11 kB / 0.531 GB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.09903, allocations: 0 / 0.531 GB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.673e-05/0.09906, allocations: 8.125 kB / 0.531 GB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.09909, allocations: 0 / 0.531 GB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.0991, allocations: 0 / 0.531 GB, free: 9.941 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.573e-05/0.09916, allocations: 83.27 kB / 0.5311 GB, free: 9.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.19e-07/0.09917, allocations: 0 / 0.5311 GB, free: 9.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.09944, allocations: 8 kB / 0.5311 GB, free: 9.852 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.000185/0.09964, allocations: 111.2 kB / 0.5312 GB, free: 9.734 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.09985, allocations: 23.97 kB / 0.5312 GB, free: 9.711 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.09987, allocations: 0 / 0.5312 GB, free: 9.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.09999, allocations: 19.98 kB / 0.5312 GB, free: 9.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.1001, allocations: 3.953 kB / 0.5312 GB, free: 9.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.1005, allocations: 103.2 kB / 0.5313 GB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1008, allocations: 0.6772 MB / 0.532 GB, free: 8.855 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.181e-05/0.1009, allocations: 3.984 kB / 0.532 GB, free: 8.852 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.1009, allocations: 11.44 kB / 0.532 GB, free: 8.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.356e-06/0.1009, allocations: 0 / 0.532 GB, free: 8.84 MB / 378.7 MB Notification: Performance of Templates: time 0.00273/0.1036, allocations: 409.6 kB / 0.5324 GB, free: 8.449 MB / 378.7 MB