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.002603/0.002609, allocations: 357.5 kB / 16.59 MB, free: 5.562 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.59/1.59, allocations: 165.8 MB / 183.1 MB, free: 5.328 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.8/3.8, allocations: 410.7 MB / 0.6001 GB, free: 15.17 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001802/0.001801, allocations: 201.6 kB / 0.6668 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004796, allocations: 12 kB / 0.7429 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3974, allocations: 67.43 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001345/0.3988, allocations: 0.9677 MB / 0.8097 GB, free: 27.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006397/0.3994, allocations: 331 kB / 0.81 GB, free: 27.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.3995, allocations: 0 / 0.81 GB, free: 27.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.3995, allocations: 0 / 0.81 GB, free: 27.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.854e-05/0.3995, allocations: 7.922 kB / 0.81 GB, free: 27.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.3999, allocations: 67.73 kB / 0.8101 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.463e-05/0.4, allocations: 7.938 kB / 0.8101 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.4, allocations: 0 / 0.8101 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.4001, allocations: 7.984 kB / 0.8101 GB, free: 27.42 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.28e-05/0.4001, allocations: 0 / 0.8101 GB, free: 27.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.4001, allocations: 4 kB / 0.8101 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.4005, allocations: 171.6 kB / 0.8103 GB, free: 27.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-06/0.4005, allocations: 0 / 0.8103 GB, free: 27.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.4005, allocations: 25.7 kB / 0.8103 GB, free: 27.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.4007, allocations: 54.05 kB / 0.8103 GB, free: 27.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4007, allocations: 0 / 0.8103 GB, free: 27.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4007, allocations: 0 / 0.8103 GB, free: 27.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.4007, allocations: 0 / 0.8103 GB, free: 27.16 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.000298/0.401, allocations: 331.3 kB / 0.8106 GB, free: 26.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4011, allocations: 11.97 kB / 0.8107 GB, free: 26.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.4011, allocations: 11.98 kB / 0.8107 GB, free: 26.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.995e-05/0.4012, allocations: 163 kB / 0.8108 GB, free: 26.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.4012, allocations: 4 kB / 0.8108 GB, free: 26.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.4013, allocations: 0 / 0.8108 GB, free: 26.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.985e-05/0.4014, allocations: 37.64 kB / 0.8109 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4014, allocations: 0 / 0.8109 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.4014, allocations: 0 / 0.8109 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4014, allocations: 0 / 0.8109 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.083e-05/0.4014, allocations: 8 kB / 0.8109 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.4016, allocations: 149.7 kB / 0.811 GB, free: 26.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.132e-05/0.4017, allocations: 30.55 kB / 0.811 GB, free: 26.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.4017, allocations: 4.859 kB / 0.811 GB, free: 26.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.4017, allocations: 64 / 0.811 GB, free: 26.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.4017, allocations: 34.56 kB / 0.8111 GB, free: 26.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.4018, allocations: 0 / 0.8111 GB, free: 26.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001452/0.4019, allocations: 49.64 kB / 0.8111 GB, free: 26.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.841e-05/0.4019, allocations: 55.34 kB / 0.8112 GB, free: 26.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.246e-05/0.402, allocations: 93.86 kB / 0.8113 GB, free: 26.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.402, allocations: 29.64 kB / 0.8113 GB, free: 25.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.207e-05/0.4021, allocations: 84.14 kB / 0.8114 GB, free: 25.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.4021, allocations: 7.844 kB / 0.8114 GB, free: 25.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.4021, allocations: 0 / 0.8114 GB, free: 25.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.28e-05/0.4022, allocations: 315.1 kB / 0.8117 GB, free: 25.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.4022, allocations: 7.984 kB / 0.8117 GB, free: 25.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.254e-05/0.4022, allocations: 4 kB / 0.8117 GB, free: 25.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.4023, allocations: 4 kB / 0.8117 GB, free: 25.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4023, allocations: 0 / 0.8117 GB, free: 25.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.977e-05/0.4023, allocations: 33.7 kB / 0.8117 GB, free: 25.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4024, allocations: 8 kB / 0.8117 GB, free: 25.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4024, allocations: 0 / 0.8117 GB, free: 25.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4024, allocations: 0 / 0.8117 GB, free: 25.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.4026, allocations: 15.94 kB / 0.8118 GB, free: 25.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003441/0.403, allocations: 0.5861 MB / 0.8123 GB, free: 24.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.694e-05/0.403, allocations: 3.938 kB / 0.8123 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.4031, allocations: 32 / 0.8123 GB, free: 24.87 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 9.425e-05/0.4032, allocations: 113.8 kB / 0.8124 GB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.4032, allocations: 7.938 kB / 0.8124 GB, free: 24.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.4033, allocations: 48.86 kB / 0.8125 GB, free: 24.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4033, allocations: 0 / 0.8125 GB, free: 24.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4034, allocations: 0 / 0.8125 GB, free: 24.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.4034, allocations: 89 kB / 0.8126 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.4034, allocations: 0 / 0.8126 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.4035, allocations: 0 / 0.8126 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.4035, allocations: 0 / 0.8126 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002593/0.4038, allocations: 133.9 kB / 0.8127 GB, free: 24.44 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001632/0.4039, allocations: 218.7 kB / 0.8129 GB, free: 24.21 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.696e-05/0.404, allocations: 8.031 kB / 0.8129 GB, free: 24.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.118e-05/0.404, allocations: 79.27 kB / 0.813 GB, free: 24.12 MB / 378.7 MB Notification: Performance of Backend: time 6.31e-07/0.404, allocations: 0 / 0.813 GB, free: 24.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006396/0.4047, allocations: 122.6 kB / 0.8131 GB, free: 24 MB / 378.7 MB Notification: Performance of SimCode: time 0.000424/0.4051, allocations: 0.5665 MB / 0.8137 GB, free: 23.38 MB / 378.7 MB Notification: Performance of Templates: time 0.003457/0.4086, allocations: 0.6794 MB / 0.8143 GB, free: 22.71 MB / 378.7 MB