Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",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.01448/0.01448, allocations: 177.8 kB / 15.12 MB, free: 5.93 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.12/2.12, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.002058/0.002057, allocations: 124.6 kB / 255.6 MB, free: 10.23 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.316/0.316, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006763/0.0006764, allocations: 14.11 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1014, allocations: 54.87 MB / 461.2 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.934/2.036, allocations: 0.6093 GB / 1.06 GB, free: 25.11 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/2.036, allocations: 96.12 kB / 1.06 GB, free: 25.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.661/3.697, allocations: 270.1 MB / 1.323 GB, free: 89.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.134e-06/3.697, allocations: 0 / 1.323 GB, free: 89.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.732e-05/3.697, allocations: 15.72 kB / 1.323 GB, free: 89.79 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004194/3.702, allocations: 1.286 MB / 1.325 GB, free: 89.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/3.702, allocations: 11.38 kB / 1.325 GB, free: 89.19 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002422/3.702, allocations: 92.55 kB / 1.325 GB, free: 89.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/3.704, allocations: 152.5 kB / 1.325 GB, free: 89.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/3.705, allocations: 0.5285 MB / 1.325 GB, free: 88.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/3.705, allocations: 38 kB / 1.326 GB, free: 88.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/3.705, allocations: 44.66 kB / 1.326 GB, free: 88.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/3.707, allocations: 0.6341 MB / 1.326 GB, free: 88.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/3.707, allocations: 3.562 kB / 1.326 GB, free: 88.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-05/3.707, allocations: 19.56 kB / 1.326 GB, free: 88.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/3.707, allocations: 14.81 kB / 1.326 GB, free: 88.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/3.709, allocations: 0.4971 MB / 1.327 GB, free: 88.72 MB / 490.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.003834/3.712, allocations: 2.569 MB / 1.329 GB, free: 87.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009594/3.713, allocations: 307.4 kB / 1.33 GB, free: 87.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004421/3.714, allocations: 331.7 kB / 1.33 GB, free: 86.76 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/3.714, allocations: 34.53 kB / 1.33 GB, free: 86.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 5.48e-06/3.714, allocations: 2.766 kB / 1.33 GB, free: 86.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.002435/3.716, allocations: 0.6885 MB / 1.331 GB, free: 86.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/3.716, allocations: 157.7 kB / 1.331 GB, free: 86.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/3.717, allocations: 399.4 kB / 1.331 GB, free: 86.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.415e-05/3.717, allocations: 33.27 kB / 1.331 GB, free: 86.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/3.718, allocations: 323.9 kB / 1.331 GB, free: 86.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/3.718, allocations: 124.9 kB / 1.332 GB, free: 86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/3.718, allocations: 12.47 kB / 1.332 GB, free: 86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/3.718, allocations: 363.4 kB / 1.332 GB, free: 85.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/3.718, allocations: 141.7 kB / 1.332 GB, free: 85.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/3.719, allocations: 364.9 kB / 1.332 GB, free: 85.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/3.719, allocations: 197.3 kB / 1.333 GB, free: 85.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/3.719, allocations: 0 / 1.333 GB, free: 85.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001736/3.721, allocations: 0.6034 MB / 1.333 GB, free: 85.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/3.721, allocations: 11.84 kB / 1.333 GB, free: 85.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/3.721, allocations: 3.719 kB / 1.333 GB, free: 85.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/3.724, allocations: 241.5 kB / 1.333 GB, free: 85.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000817/3.725, allocations: 131.9 kB / 1.334 GB, free: 85.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006009/3.725, allocations: 0.5928 MB / 1.334 GB, free: 84.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008189/3.726, allocations: 68.41 kB / 1.334 GB, free: 84.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/3.726, allocations: 54.45 kB / 1.334 GB, free: 84.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (60): * Single equations (assignments): 59 * 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 prepare postOptimizeDAE: time 0.0004495/3.727, allocations: 193.6 kB / 1.334 GB, free: 84.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/3.727, allocations: 59.03 kB / 1.334 GB, free: 84.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/3.729, allocations: 0.6794 MB / 1.335 GB, free: 84.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/3.729, allocations: 7.641 kB / 1.335 GB, free: 84.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/3.729, allocations: 0 / 1.335 GB, free: 84.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/3.729, allocations: 3.891 kB / 1.335 GB, free: 84.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003014/3.732, allocations: 1.511 MB / 1.337 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/3.733, allocations: 3.938 kB / 1.337 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/3.733, allocations: 72.06 kB / 1.337 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/3.735, allocations: 228.1 kB / 1.337 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.244e-05/3.735, allocations: 20.78 kB / 1.337 GB, free: 83.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004761/3.736, allocations: 0.5871 MB / 1.337 GB, free: 83.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/3.736, allocations: 7.078 kB / 1.338 GB, free: 83.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/3.737, allocations: 0.6882 MB / 1.338 GB, free: 82.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/3.737, allocations: 142.9 kB / 1.338 GB, free: 82.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/3.737, allocations: 10.25 kB / 1.338 GB, free: 82.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/3.738, allocations: 33.02 kB / 1.338 GB, free: 82.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/3.738, allocations: 30.39 kB / 1.338 GB, free: 82.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.939e-05/3.738, allocations: 30.77 kB / 1.338 GB, free: 82.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004981/3.739, allocations: 319 kB / 1.339 GB, free: 82.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/3.739, allocations: 0 / 1.339 GB, free: 82.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002044/3.741, allocations: 445.8 kB / 1.339 GB, free: 82.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 34 * 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.00447/3.745, allocations: 3.108 MB / 1.342 GB, free: 80.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001385/3.747, allocations: 410.5 kB / 1.343 GB, free: 80.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/3.747, allocations: 0 / 1.343 GB, free: 80.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005046/3.747, allocations: 201.5 kB / 1.343 GB, free: 80.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/3.75, allocations: 288.9 kB / 1.343 GB, free: 80.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/3.764, allocations: 8.779 MB / 1.352 GB, free: 75.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/3.765, allocations: 0.8836 MB / 1.352 GB, free: 74.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001408/3.766, allocations: 196.6 kB / 1.353 GB, free: 74.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000633/3.767, allocations: 233.5 kB / 1.353 GB, free: 74.61 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/3.767, allocations: 3.844 kB / 1.353 GB, free: 74.61 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08627/3.853, allocations: 33.3 MB / 1.385 GB, free: 71.19 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003231/3.854, allocations: 267.7 kB / 1.386 GB, free: 70.83 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.153/8.007, allocations: 0 / 1.386 GB, free: 70.83 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat