Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009808/0.009808, allocations: 165.6 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.747/1.747, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00201/0.002009, allocations: 107.4 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4498/0.4498, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.0004929, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1066, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.964/2.07, allocations: 0.6014 GB / 1.003 GB, free: 101.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/2.071, allocations: 98.95 kB / 1.004 GB, free: 101.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.052/3.123, allocations: 231.4 MB / 1.23 GB, free: 54.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.425e-06/3.123, allocations: 0 / 1.23 GB, free: 54.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.523e-05/3.123, allocations: 16 kB / 1.23 GB, free: 54.43 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002775/3.126, allocations: 1.014 MB / 1.231 GB, free: 53.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/3.126, allocations: 8.031 kB / 1.231 GB, free: 53.36 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/3.126, allocations: 82.53 kB / 1.231 GB, free: 53.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/3.127, allocations: 143.1 kB / 1.231 GB, free: 53.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/3.128, allocations: 0.5365 MB / 1.231 GB, free: 52.56 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/3.129, allocations: 29 kB / 1.231 GB, free: 52.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.848e-05/3.129, allocations: 44 kB / 1.231 GB, free: 52.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/3.13, allocations: 0.5845 MB / 1.232 GB, free: 51.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/3.13, allocations: 3.938 kB / 1.232 GB, free: 51.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.565e-05/3.13, allocations: 20 kB / 1.232 GB, free: 51.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/3.13, allocations: 16 kB / 1.232 GB, free: 51.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/3.132, allocations: 495.5 kB / 1.232 GB, free: 51.34 MB / 442.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.003618/3.135, allocations: 2.613 MB / 1.235 GB, free: 48.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009956/3.136, allocations: 321.3 kB / 1.235 GB, free: 48.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004364/3.137, allocations: 330 kB / 1.236 GB, free: 47.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/3.137, allocations: 34.84 kB / 1.236 GB, free: 47.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 5.982e-06/3.137, allocations: 0 / 1.236 GB, free: 47.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002353/3.139, allocations: 0.6975 MB / 1.236 GB, free: 47.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/3.139, allocations: 140.5 kB / 1.236 GB, free: 46.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/3.14, allocations: 385 kB / 1.237 GB, free: 46.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/3.14, allocations: 33.7 kB / 1.237 GB, free: 46.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/3.14, allocations: 295.5 kB / 1.237 GB, free: 46.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/3.14, allocations: 122.3 kB / 1.237 GB, free: 46.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/3.14, allocations: 8 kB / 1.237 GB, free: 46.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.865e-05/3.14, allocations: 354.8 kB / 1.238 GB, free: 45.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/3.141, allocations: 189 kB / 1.238 GB, free: 45.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006177/3.142, allocations: 367.3 kB / 1.238 GB, free: 45.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000604/3.142, allocations: 233.8 kB / 1.238 GB, free: 44.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/3.142, allocations: 4 kB / 1.238 GB, free: 44.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001749/3.144, allocations: 0.6704 MB / 1.239 GB, free: 44.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/3.144, allocations: 8 kB / 1.239 GB, free: 44.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/3.144, allocations: 8 kB / 1.239 GB, free: 44.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002246/3.146, allocations: 240.8 kB / 1.239 GB, free: 43.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/3.147, allocations: 155.8 kB / 1.239 GB, free: 43.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009042/3.157, allocations: 28.72 MB / 1.267 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008083/3.157, allocations: 71.62 kB / 1.268 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/3.158, allocations: 51.98 kB / 1.268 GB, free: 12.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003796/3.158, allocations: 194.7 kB / 1.268 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/3.158, allocations: 47.44 kB / 1.268 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/3.16, allocations: 0.6699 MB / 1.268 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/3.16, allocations: 4 kB / 1.268 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/3.16, allocations: 0 / 1.268 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/3.16, allocations: 7.984 kB / 1.268 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/3.163, allocations: 1.167 MB / 1.27 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/3.163, allocations: 0 / 1.27 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/3.163, allocations: 63.91 kB / 1.27 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/3.165, allocations: 236.8 kB / 1.27 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/3.165, allocations: 11.98 kB / 1.27 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004381/3.166, allocations: 0.5914 MB / 1.27 GB, free: 9.801 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/3.166, allocations: 4.062 kB / 1.27 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/3.167, allocations: 0.5919 MB / 1.271 GB, free: 9.121 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/3.167, allocations: 156.3 kB / 1.271 GB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/3.167, allocations: 8 kB / 1.271 GB, free: 8.941 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/3.168, allocations: 35.91 kB / 1.271 GB, free: 8.906 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/3.168, allocations: 27.91 kB / 1.271 GB, free: 8.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.666e-05/3.168, allocations: 19.98 kB / 1.271 GB, free: 8.859 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005129/3.168, allocations: 326.9 kB / 1.272 GB, free: 8.539 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.5e-07/3.168, allocations: 0 / 1.272 GB, free: 8.539 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002338/3.171, allocations: 423.4 kB / 1.272 GB, free: 8.125 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004108/3.175, allocations: 2.699 MB / 1.275 GB, free: 5.352 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001485/3.176, allocations: 432.7 kB / 1.275 GB, free: 4.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/3.176, allocations: 4 kB / 1.275 GB, free: 4.926 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004931/3.177, allocations: 167.8 kB / 1.275 GB, free: 4.762 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/3.179, allocations: 225.6 kB / 1.275 GB, free: 4.547 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3197/3.498, allocations: 6.888 MB / 1.282 GB, free: 69.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/3.499, allocations: 0.868 MB / 1.283 GB, free: 68.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001452/3.501, allocations: 187.1 kB / 1.283 GB, free: 68.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005859/3.501, allocations: 216.8 kB / 1.283 GB, free: 68.84 MB / 442.7 MB Notification: Performance of SimCode: time 1.353e-06/3.501, allocations: 1.156 kB / 1.283 GB, free: 68.84 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08485/3.586, allocations: 31.54 MB / 1.314 GB, free: 67.76 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002879/3.586, allocations: 277 kB / 1.314 GB, free: 67.39 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.874/7.461, allocations: 4 kB / 1.314 GB, free: 67.39 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat