Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009523/0.009529, allocations: 176.3 kB / 15.13 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.094/2.094, allocations: 194.5 MB / 210.3 MB, free: 7.602 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.01031/0.0103, allocations: 104.2 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2542/0.2542, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.00046, allocations: 10.41 kB / 406.3 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09586/0.09636, allocations: 54.88 MB / 461.2 MB, free: 3.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.5727/0.6691, allocations: 166 MB / 0.6124 GB, free: 1.035 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008134/0.6773, allocations: 3.536 MB / 0.6159 GB, free: 14.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007534/0.6781, allocations: 22.72 kB / 0.6159 GB, free: 14.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.6792, allocations: 242.8 kB / 0.6162 GB, free: 13.96 MB / 410.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005954/0.6852, allocations: 1.419 MB / 0.6175 GB, free: 12.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003207/0.6884, allocations: 0.7345 MB / 0.6183 GB, free: 12.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0032/0.6917, allocations: 1.73 MB / 0.6199 GB, free: 11.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008314/0.6925, allocations: 326 kB / 0.6203 GB, free: 11.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.694, allocations: 0.5027 MB / 0.6207 GB, free: 10.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.695, allocations: 442.6 kB / 0.6212 GB, free: 10.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.6952, allocations: 24.62 kB / 0.6212 GB, free: 10.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003989/0.6992, allocations: 1.215 MB / 0.6224 GB, free: 9.902 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003493/0.6996, allocations: 135.5 kB / 0.6225 GB, free: 9.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003639/0.7, allocations: 153.4 kB / 0.6227 GB, free: 9.613 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002874/0.7029, allocations: 1.118 MB / 0.6237 GB, free: 8.496 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.7029, allocations: 0 / 0.6237 GB, free: 8.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.7029, allocations: 0 / 0.6237 GB, free: 8.496 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.7029, allocations: 0 / 0.6237 GB, free: 8.496 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.00276/0.7057, allocations: 1.064 MB / 0.6248 GB, free: 7.375 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.7058, allocations: 8.031 kB / 0.6248 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001845/0.706, allocations: 88.08 kB / 0.6249 GB, free: 7.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.7076, allocations: 170.9 kB / 0.625 GB, free: 7.105 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.7092, allocations: 0.5679 MB / 0.6256 GB, free: 6.496 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/0.7093, allocations: 41 kB / 0.6256 GB, free: 6.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.7094, allocations: 43.94 kB / 0.6257 GB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.7109, allocations: 0.5672 MB / 0.6262 GB, free: 5.809 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.7109, allocations: 4 kB / 0.6262 GB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.146e-05/0.711, allocations: 27.94 kB / 0.6263 GB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.711, allocations: 12 kB / 0.6263 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.7122, allocations: 447.6 kB / 0.6267 GB, free: 5.328 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004874/0.7171, allocations: 2.58 MB / 0.6292 GB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007655/0.7179, allocations: 266.9 kB / 0.6295 GB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004353/0.7184, allocations: 173.6 kB / 0.6296 GB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/0.7203, allocations: 1.225 MB / 0.6308 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006574/0.721, allocations: 268.9 kB / 0.6311 GB, free: 432 kB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.006e-06/0.721, allocations: 3.938 kB / 0.6311 GB, free: 428 kB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001628/0.7226, allocations: 0.545 MB / 0.6316 GB, free: 15.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.7228, allocations: 170.2 kB / 0.6318 GB, free: 15.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008981/0.7237, allocations: 0.495 MB / 0.6323 GB, free: 15.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.132e-05/0.7238, allocations: 33.7 kB / 0.6323 GB, free: 15.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004126/0.7242, allocations: 351 kB / 0.6326 GB, free: 14.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.7244, allocations: 114.4 kB / 0.6328 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.7245, allocations: 8 kB / 0.6328 GB, free: 14.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.7247, allocations: 374.8 kB / 0.6331 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/0.7252, allocations: 145 kB / 0.6333 GB, free: 14.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/0.7259, allocations: 396.2 kB / 0.6336 GB, free: 13.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.7265, allocations: 229.6 kB / 0.6339 GB, free: 13.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.7265, allocations: 8 kB / 0.6339 GB, free: 13.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001718/0.7283, allocations: 0.6438 MB / 0.6345 GB, free: 12.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00028/0.7286, allocations: 342.6 kB / 0.6348 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.7286, allocations: 8.875 kB / 0.6348 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/0.7286, allocations: 12 kB / 0.6348 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006374/0.735, allocations: 431.5 kB / 0.6352 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007181/0.7358, allocations: 0.6327 MB / 0.6359 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007176/0.7365, allocations: 71.52 kB / 0.6359 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.7367, allocations: 55.98 kB / 0.636 GB, free: 11.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.7367, allocations: 5.562 kB / 0.636 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001417/0.7381, allocations: 0.5477 MB / 0.6365 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.7382, allocations: 9.844 kB / 0.6365 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.7382, allocations: 8 kB / 0.6365 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007888/0.739, allocations: 143.8 kB / 0.6367 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/0.7391, allocations: 15.94 kB / 0.6367 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/0.7396, allocations: 55.56 kB / 0.6367 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.7398, allocations: 59.98 kB / 0.6368 GB, free: 10.22 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * 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.0005123/0.7403, allocations: 314 kB / 0.6371 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.7405, allocations: 63.25 kB / 0.6372 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/0.7433, allocations: 0.7693 MB / 0.6379 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.7433, allocations: 4 kB / 0.6379 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7433, allocations: 3.938 kB / 0.6379 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.7434, allocations: 7.938 kB / 0.6379 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005322/0.7487, allocations: 2.982 MB / 0.6408 GB, free: 5.672 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.7487, allocations: 0 / 0.6408 GB, free: 5.672 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002066/0.7508, allocations: 187.8 kB / 0.641 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/0.7509, allocations: 4 kB / 0.641 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.571e-05/0.751, allocations: 23.98 kB / 0.6411 GB, free: 5.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005121/0.7515, allocations: 0.6055 MB / 0.6416 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.7515, allocations: 4 kB / 0.6416 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.7529, allocations: 0.6399 MB / 0.6423 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.7532, allocations: 144.2 kB / 0.6424 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.7533, allocations: 16 kB / 0.6424 GB, free: 3.965 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.7538, allocations: 23.98 kB / 0.6424 GB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.754, allocations: 39.91 kB / 0.6425 GB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.546e-05/0.7541, allocations: 32 kB / 0.6425 GB, free: 3.871 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006157/0.7547, allocations: 350.7 kB / 0.6428 GB, free: 3.531 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7547, allocations: 0 / 0.6428 GB, free: 3.531 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002022/0.7567, allocations: 0.5149 MB / 0.6434 GB, free: 3.016 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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.003294/0.7601, allocations: 1.59 MB / 0.6449 GB, free: 1.371 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01047/0.7705, allocations: 1.274 MB / 0.6461 GB, free: 76 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.7706, allocations: 0.625 kB / 0.6461 GB, free: 76 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002919/0.7735, allocations: 451.5 kB / 0.6466 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/0.7761, allocations: 265.9 kB / 0.6468 GB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008699/0.7848, allocations: 3.636 MB / 0.6504 GB, free: 11.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.7855, allocations: 0.8996 MB / 0.6513 GB, free: 10.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002344/0.7879, allocations: 292.9 kB / 0.6515 GB, free: 10.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007986/0.7887, allocations: 251.3 kB / 0.6518 GB, free: 10.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.283e-06/0.7887, allocations: 3.938 kB / 0.6518 GB, free: 10.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0704/0.8591, allocations: 20.53 MB / 0.6718 GB, free: 5.613 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003402/0.8596, allocations: 280.3 kB / 0.6721 GB, free: 5.246 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.508/4.367, allocations: 0 / 0.6721 GB, free: 5.246 MB / 458.7 MB