Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.009823/0.009823, allocations: 176.1 kB / 15.12 MB, free: 6 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 1.889/1.889, allocations: 194.5 MB / 210.3 MB, free: 11.4 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.001998/0.001998, allocations: 120.6 kB / 255.6 MB, free: 14.52 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.4662/0.4662, allocations: 40 MB / 340.8 MB, free: 14.99 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005077/0.0005078, allocations: 8 kB / 406.3 MB, free: 13.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3525, allocations: 54.88 MB / 461.2 MB, free: 24.68 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.601/9.953, allocations: 2.952 GB / 3.402 GB, free: 114.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/9.954, allocations: 94.75 kB / 3.403 GB, free: 114.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.332/15.29, allocations: 1.136 GB / 4.538 GB, free: 62.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.574e-06/15.29, allocations: 0 / 4.538 GB, free: 62.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.418e-05/15.29, allocations: 14.78 kB / 4.538 GB, free: 62.65 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.008141/15.29, allocations: 1.655 MB / 4.54 GB, free: 61.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/15.29, allocations: 14.83 kB / 4.54 GB, free: 61.71 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004074/15.29, allocations: 94.17 kB / 4.54 GB, free: 61.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000551/15.3, allocations: 92.8 kB / 4.54 GB, free: 61.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/15.3, allocations: 0.5389 MB / 4.541 GB, free: 61.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/15.3, allocations: 105.2 kB / 4.541 GB, free: 61.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/15.3, allocations: 50.52 kB / 4.541 GB, free: 61.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/15.3, allocations: 0.8176 MB / 4.542 GB, free: 61.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/15.3, allocations: 5.062 kB / 4.542 GB, free: 61.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/15.3, allocations: 28 kB / 4.542 GB, free: 61.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.422e-05/15.3, allocations: 38.5 kB / 4.542 GB, free: 61.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/15.3, allocations: 0.6356 MB / 4.542 GB, free: 61.08 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006897/15.31, allocations: 3.897 MB / 4.546 GB, free: 58.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/15.31, allocations: 388.7 kB / 4.547 GB, free: 58.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005631/15.31, allocations: 0.4982 MB / 4.547 GB, free: 58.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/15.31, allocations: 43.86 kB / 4.547 GB, free: 58.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 3.025e-06/15.31, allocations: 2.516 kB / 4.547 GB, free: 58.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.005105/15.32, allocations: 1.494 MB / 4.549 GB, free: 57.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/15.32, allocations: 132.2 kB / 4.549 GB, free: 57.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/15.32, allocations: 493.2 kB / 4.549 GB, free: 57.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/15.32, allocations: 36.11 kB / 4.549 GB, free: 57.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/15.32, allocations: 369.6 kB / 4.55 GB, free: 57.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/15.32, allocations: 162.6 kB / 4.55 GB, free: 57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/15.32, allocations: 17.25 kB / 4.55 GB, free: 57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/15.32, allocations: 373.9 kB / 4.55 GB, free: 56.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006055/15.32, allocations: 218.9 kB / 4.55 GB, free: 56.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000756/15.32, allocations: 0.5324 MB / 4.551 GB, free: 56.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007469/15.32, allocations: 323.2 kB / 4.551 GB, free: 56.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/15.32, allocations: 3.938 kB / 4.551 GB, free: 56.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003013/15.32, allocations: 0.9612 MB / 4.552 GB, free: 56.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/15.32, allocations: 11.47 kB / 4.552 GB, free: 56.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/15.32, allocations: 9.406 kB / 4.552 GB, free: 56.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/15.32, allocations: 260.2 kB / 4.552 GB, free: 56.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009002/15.33, allocations: 131.6 kB / 4.553 GB, free: 56.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/15.33, allocations: 0.8597 MB / 4.553 GB, free: 55.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/15.33, allocations: 44.91 kB / 4.553 GB, free: 55.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.697e-05/15.33, allocations: 41.19 kB / 4.553 GB, free: 55.5 MB / 490.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.0005431/15.33, allocations: 254.5 kB / 4.554 GB, free: 55.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/15.33, allocations: 68.64 kB / 4.554 GB, free: 55.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/15.33, allocations: 0.6914 MB / 4.554 GB, free: 54.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/15.33, allocations: 6.75 kB / 4.554 GB, free: 54.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/15.33, allocations: 3.953 kB / 4.554 GB, free: 54.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/15.33, allocations: 3.375 kB / 4.554 GB, free: 54.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/15.33, allocations: 1.367 MB / 4.556 GB, free: 54.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/15.33, allocations: 3.969 kB / 4.556 GB, free: 54.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/15.34, allocations: 196.2 kB / 4.556 GB, free: 54.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005244/15.34, allocations: 56.53 kB / 4.556 GB, free: 54.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/15.34, allocations: 18.81 kB / 4.556 GB, free: 54.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002712/15.34, allocations: 2.804 MB / 4.559 GB, free: 51.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/15.34, allocations: 5.984 kB / 4.559 GB, free: 51.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/15.34, allocations: 1.049 MB / 4.56 GB, free: 50.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005196/15.34, allocations: 195.2 kB / 4.56 GB, free: 50.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/15.34, allocations: 11.38 kB / 4.56 GB, free: 50.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007606/15.34, allocations: 35.84 kB / 4.56 GB, free: 50.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/15.34, allocations: 47.52 kB / 4.56 GB, free: 50.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/15.34, allocations: 21.75 kB / 4.56 GB, free: 50.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007251/15.34, allocations: 376.6 kB / 4.56 GB, free: 50.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/15.34, allocations: 0 / 4.56 GB, free: 50.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00153/15.35, allocations: 238.6 kB / 4.561 GB, free: 50.38 MB / 490.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.003454/15.35, allocations: 2.361 MB / 4.563 GB, free: 48.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001805/15.35, allocations: 0.5961 MB / 4.564 GB, free: 48.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/15.35, allocations: 0 / 4.564 GB, free: 48.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001886/15.35, allocations: 474.5 kB / 4.564 GB, free: 48.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/15.36, allocations: 308.1 kB / 4.564 GB, free: 48.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/15.37, allocations: 11.07 MB / 4.575 GB, free: 39.13 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/15.37, allocations: 0.9546 MB / 4.576 GB, free: 38.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001329/15.37, allocations: 208.6 kB / 4.576 GB, free: 38.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005072/15.37, allocations: 232.9 kB / 4.576 GB, free: 38.21 MB / 490.7 MB Notification: Performance of SimCode: time 1.352e-06/15.37, allocations: 0 / 4.576 GB, free: 38.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/15.49, allocations: 22.34 MB / 4.598 GB, free: 33.48 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/15.49, allocations: 280.6 kB / 4.599 GB, free: 33.12 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.37/18.86, allocations: 0 / 4.599 GB, free: 33.12 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat