Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",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.01285/0.01285, allocations: 164.8 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.67/1.67, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.002037/0.002037, 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.4576/0.4576, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004705, allocations: 12 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1077, allocations: 48.72 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.876/8.984, allocations: 2.841 GB / 3.243 GB, free: 7.789 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/8.984, allocations: 99.09 kB / 3.243 GB, free: 7.734 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.425/14.41, allocations: 1.1 GB / 4.343 GB, free: 56.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.184e-06/14.41, allocations: 0 / 4.343 GB, free: 56.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.316e-05/14.41, allocations: 18.22 kB / 4.343 GB, free: 56.45 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.007352/14.42, allocations: 1.652 MB / 4.344 GB, free: 55.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/14.42, allocations: 8.125 kB / 4.344 GB, free: 55.55 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002165/14.42, allocations: 99.39 kB / 4.344 GB, free: 55.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000453/14.42, allocations: 86.38 kB / 4.345 GB, free: 55.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/14.42, allocations: 0.552 MB / 4.345 GB, free: 55.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/14.42, allocations: 101.7 kB / 4.345 GB, free: 55.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/14.42, allocations: 54.14 kB / 4.345 GB, free: 55.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/14.42, allocations: 0.8068 MB / 4.346 GB, free: 54.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/14.42, allocations: 3.938 kB / 4.346 GB, free: 54.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/14.42, allocations: 27.02 kB / 4.346 GB, free: 54.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.866e-05/14.42, allocations: 41.67 kB / 4.346 GB, free: 54.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/14.42, allocations: 0.6334 MB / 4.347 GB, free: 54.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006607/14.43, allocations: 3.901 MB / 4.35 GB, free: 52.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/14.43, allocations: 394.4 kB / 4.351 GB, free: 52.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005215/14.43, allocations: 0.4978 MB / 4.351 GB, free: 51.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/14.43, allocations: 41.14 kB / 4.351 GB, free: 51.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 2.975e-06/14.43, allocations: 0 / 4.351 GB, free: 51.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.00464/14.44, allocations: 1.487 MB / 4.353 GB, free: 50.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/14.44, allocations: 135.1 kB / 4.353 GB, free: 50.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/14.44, allocations: 0.4936 MB / 4.353 GB, free: 50.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/14.44, allocations: 29.7 kB / 4.353 GB, free: 50.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/14.44, allocations: 364.6 kB / 4.354 GB, free: 49.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/14.44, allocations: 163 kB / 4.354 GB, free: 49.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.105e-05/14.44, allocations: 11.56 kB / 4.354 GB, free: 49.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/14.44, allocations: 381.3 kB / 4.354 GB, free: 49.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005517/14.44, allocations: 221.2 kB / 4.355 GB, free: 49.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007621/14.44, allocations: 0.5322 MB / 4.355 GB, free: 48.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007241/14.44, allocations: 320.2 kB / 4.355 GB, free: 48.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/14.44, allocations: 3.281 kB / 4.355 GB, free: 48.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002873/14.44, allocations: 0.9633 MB / 4.356 GB, free: 48.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/14.44, allocations: 11.44 kB / 4.356 GB, free: 48.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/14.44, allocations: 11.48 kB / 4.356 GB, free: 48.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/14.44, allocations: 259.6 kB / 4.357 GB, free: 48.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008004/14.45, allocations: 136.8 kB / 4.357 GB, free: 48.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/14.45, allocations: 0.8582 MB / 4.358 GB, free: 47.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000959/14.45, allocations: 50.83 kB / 4.358 GB, free: 47.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-05/14.45, allocations: 34.75 kB / 4.358 GB, free: 47.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004741/14.45, allocations: 252.5 kB / 4.358 GB, free: 47.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/14.45, allocations: 71.98 kB / 4.358 GB, free: 47.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/14.45, allocations: 0.6945 MB / 4.359 GB, free: 47.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/14.45, allocations: 7.625 kB / 4.359 GB, free: 47.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/14.45, allocations: 0 / 4.359 GB, free: 47.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/14.45, allocations: 4.922 kB / 4.359 GB, free: 47.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/14.45, allocations: 1.373 MB / 4.36 GB, free: 46.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/14.45, allocations: 3.031 kB / 4.36 GB, free: 46.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/14.45, allocations: 193.4 kB / 4.36 GB, free: 46.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004715/14.46, allocations: 63.83 kB / 4.36 GB, free: 46.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.107e-05/14.46, allocations: 11.94 kB / 4.36 GB, free: 46.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/14.46, allocations: 2.799 MB / 4.363 GB, free: 43.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/14.46, allocations: 7.219 kB / 4.363 GB, free: 43.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/14.46, allocations: 1.042 MB / 4.364 GB, free: 42.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/14.46, allocations: 195.8 kB / 4.364 GB, free: 42.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/14.46, allocations: 15.5 kB / 4.364 GB, free: 42.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007031/14.46, allocations: 34.97 kB / 4.364 GB, free: 42.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/14.46, allocations: 37.69 kB / 4.364 GB, free: 42.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/14.46, allocations: 21.22 kB / 4.364 GB, free: 42.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006729/14.46, allocations: 383.2 kB / 4.365 GB, free: 42.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/14.46, allocations: 3.938 kB / 4.365 GB, free: 42.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00132/14.46, allocations: 239.5 kB / 4.365 GB, free: 42.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00333/14.47, allocations: 2.37 MB / 4.367 GB, free: 40.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001703/14.47, allocations: 0.5929 MB / 4.368 GB, free: 40.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/14.47, allocations: 0 / 4.368 GB, free: 40.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001789/14.47, allocations: 462.7 kB / 4.368 GB, free: 40.37 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/14.47, allocations: 299.5 kB / 4.369 GB, free: 40.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/14.48, allocations: 11.07 MB / 4.379 GB, free: 31.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/14.48, allocations: 0.9534 MB / 4.38 GB, free: 30.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001233/14.49, allocations: 206.2 kB / 4.38 GB, free: 30.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/14.49, allocations: 229.5 kB / 4.381 GB, free: 30.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.162e-06/14.49, allocations: 448 / 4.381 GB, free: 30.16 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07142/14.56, allocations: 22.34 MB / 4.403 GB, free: 19.78 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003245/14.56, allocations: 292.7 kB / 4.403 GB, free: 19.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.5/18.06, allocations: 7.938 kB / 4.403 GB, free: 19.4 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat