Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01005/0.01005, allocations: 167 kB / 15.11 MB, free: 5.984 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.798/1.798, 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.002069/0.002068, allocations: 107.3 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.4973/0.4973, allocations: 38.06 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004583, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.108, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.133/2.241, allocations: 0.6025 GB / 1.005 GB, free: 100.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/2.241, allocations: 92.56 kB / 1.005 GB, free: 100.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336/3.577, allocations: 270 MB / 1.268 GB, free: 13.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.074e-06/3.577, allocations: 0 / 1.268 GB, free: 13.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.629e-05/3.578, allocations: 16 kB / 1.268 GB, free: 13.79 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004126/3.582, allocations: 1.291 MB / 1.27 GB, free: 12.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/3.582, allocations: 8.031 kB / 1.27 GB, free: 12.44 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002952/3.582, allocations: 94.52 kB / 1.27 GB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/3.584, allocations: 151.2 kB / 1.27 GB, free: 12.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/3.585, allocations: 0.5364 MB / 1.27 GB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/3.585, allocations: 37 kB / 1.27 GB, free: 11.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/3.586, allocations: 40 kB / 1.27 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/3.587, allocations: 0.6377 MB / 1.271 GB, free: 10.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/3.587, allocations: 7.938 kB / 1.271 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/3.587, allocations: 16 kB / 1.271 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/3.587, allocations: 12 kB / 1.271 GB, free: 10.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/3.589, allocations: 0.4996 MB / 1.272 GB, free: 10.31 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.004225/3.593, allocations: 2.575 MB / 1.274 GB, free: 7.551 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009574/3.594, allocations: 302.7 kB / 1.274 GB, free: 7.246 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004321/3.595, allocations: 329.2 kB / 1.275 GB, free: 6.867 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/3.595, allocations: 43.16 kB / 1.275 GB, free: 6.816 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.296e-06/3.595, allocations: 0 / 1.275 GB, free: 6.816 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002381/3.597, allocations: 0.6743 MB / 1.275 GB, free: 6.113 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/3.597, allocations: 170.2 kB / 1.276 GB, free: 5.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006602/3.598, allocations: 393.1 kB / 1.276 GB, free: 5.516 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.823e-05/3.598, allocations: 29.7 kB / 1.276 GB, free: 5.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/3.598, allocations: 327.1 kB / 1.276 GB, free: 5.156 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/3.598, allocations: 126.2 kB / 1.276 GB, free: 5.031 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/3.598, allocations: 8 kB / 1.276 GB, free: 5.023 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/3.598, allocations: 358.8 kB / 1.277 GB, free: 4.664 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/3.599, allocations: 145 kB / 1.277 GB, free: 4.523 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/3.599, allocations: 370.6 kB / 1.277 GB, free: 4.055 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/3.6, allocations: 208.8 kB / 1.277 GB, free: 3.852 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/3.6, allocations: 4 kB / 1.277 GB, free: 3.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001612/3.602, allocations: 0.587 MB / 1.278 GB, free: 3.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/3.602, allocations: 8 kB / 1.278 GB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/3.602, allocations: 8 kB / 1.278 GB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/3.604, allocations: 237.3 kB / 1.278 GB, free: 3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007988/3.605, allocations: 139.8 kB / 1.278 GB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005401/3.605, allocations: 0.5874 MB / 1.279 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00074/3.606, allocations: 71.38 kB / 1.279 GB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/3.606, allocations: 55.98 kB / 1.279 GB, free: 2.125 MB / 442.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.0004079/3.607, allocations: 198.7 kB / 1.279 GB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/3.607, allocations: 51.44 kB / 1.279 GB, free: 1.871 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/3.609, allocations: 0.6764 MB / 1.28 GB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/3.609, allocations: 4 kB / 1.28 GB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/3.609, allocations: 0 / 1.28 GB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/3.609, allocations: 7.938 kB / 1.28 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3605/3.97, allocations: 1.505 MB / 1.281 GB, free: 58.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/3.97, allocations: 2.781 kB / 1.281 GB, free: 58.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/3.97, allocations: 73.72 kB / 1.282 GB, free: 58.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002244/3.972, allocations: 232.9 kB / 1.282 GB, free: 58.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/3.973, allocations: 17.5 kB / 1.282 GB, free: 58.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005188/3.973, allocations: 0.5862 MB / 1.282 GB, free: 58.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/3.973, allocations: 3.75 kB / 1.282 GB, free: 58.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/3.975, allocations: 0.6994 MB / 1.283 GB, free: 57.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/3.975, allocations: 192.2 kB / 1.283 GB, free: 57.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/3.975, allocations: 10.36 kB / 1.283 GB, free: 57.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/3.976, allocations: 32.28 kB / 1.283 GB, free: 57.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/3.976, allocations: 38.38 kB / 1.283 GB, free: 57.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-05/3.976, allocations: 28.7 kB / 1.283 GB, free: 57.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006781/3.977, allocations: 317.5 kB / 1.284 GB, free: 57.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/3.977, allocations: 0 / 1.284 GB, free: 57.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00232/3.979, allocations: 446.8 kB / 1.284 GB, free: 57.59 MB / 442.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.006025/3.985, allocations: 3.106 MB / 1.287 GB, free: 55.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001956/3.987, allocations: 422.7 kB / 1.287 GB, free: 55.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/3.987, allocations: 1.188 kB / 1.287 GB, free: 55.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008062/3.988, allocations: 202.8 kB / 1.288 GB, free: 55.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/3.991, allocations: 275.6 kB / 1.288 GB, free: 55.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02197/4.013, allocations: 8.779 MB / 1.297 GB, free: 50.49 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/4.014, allocations: 0.8847 MB / 1.297 GB, free: 49.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002158/4.016, allocations: 198.1 kB / 1.298 GB, free: 49.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/4.017, allocations: 237.5 kB / 1.298 GB, free: 49.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.403e-06/4.017, allocations: 0 / 1.298 GB, free: 49.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1429/4.16, allocations: 33.3 MB / 1.33 GB, free: 48.51 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/4.161, allocations: 260.1 kB / 1.331 GB, free: 48.16 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.291/8.452, allocations: 0 / 1.331 GB, free: 48.16 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat