Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",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.009892/0.009892, allocations: 175.9 kB / 15.12 MB, free: 5.977 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.976/1.976, 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.001993/0.001993, allocations: 120.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.2541/0.2541, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004681, allocations: 10.28 kB / 406.3 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 54.88 MB / 461.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.322, allocations: 414.9 MB / 0.8555 GB, free: 46.71 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/1.323, allocations: 91.33 kB / 0.8556 GB, free: 46.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7331/2.056, allocations: 118 MB / 0.9709 GB, free: 137 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.276e-06/2.056, allocations: 0 / 0.9709 GB, free: 137 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001108/2.056, allocations: 20 kB / 0.9709 GB, free: 136.9 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.004628/2.061, allocations: 1.05 MB / 0.9719 GB, free: 135.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/2.061, allocations: 12.03 kB / 0.9719 GB, free: 135.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004058/2.061, allocations: 94.52 kB / 0.972 GB, free: 135.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007519/2.062, allocations: 95.06 kB / 0.9721 GB, free: 135.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/2.064, allocations: 0.5478 MB / 0.9727 GB, free: 135.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/2.064, allocations: 96.41 kB / 0.9728 GB, free: 135 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/2.065, allocations: 51.81 kB / 0.9728 GB, free: 134.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/2.067, allocations: 0.8104 MB / 0.9736 GB, free: 134 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.619e-05/2.067, allocations: 7.891 kB / 0.9736 GB, free: 134 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/2.068, allocations: 24 kB / 0.9736 GB, free: 134 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/2.068, allocations: 40.97 kB / 0.9737 GB, free: 134 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/2.07, allocations: 0.6322 MB / 0.9743 GB, free: 133.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009058/2.079, allocations: 3.902 MB / 0.9781 GB, free: 129.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/2.081, allocations: 392.9 kB / 0.9785 GB, free: 128.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007234/2.082, allocations: 0.5028 MB / 0.979 GB, free: 128.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/2.082, allocations: 38.89 kB / 0.979 GB, free: 128.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 4.659e-06/2.082, allocations: 0 / 0.979 GB, free: 128.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.006984/2.089, allocations: 1.476 MB / 0.9804 GB, free: 126.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/2.089, allocations: 140.5 kB / 0.9806 GB, free: 126.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/2.09, allocations: 498 kB / 0.981 GB, free: 126 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001343/2.091, allocations: 37.7 kB / 0.9811 GB, free: 125.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/2.091, allocations: 371.2 kB / 0.9814 GB, free: 125.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/2.091, allocations: 153.8 kB / 0.9816 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.449e-05/2.091, allocations: 16 kB / 0.9816 GB, free: 125.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/2.091, allocations: 374.7 kB / 0.982 GB, free: 125 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008565/2.092, allocations: 221.9 kB / 0.9822 GB, free: 124.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/2.093, allocations: 0.5371 MB / 0.9827 GB, free: 124.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/2.095, allocations: 324.6 kB / 0.983 GB, free: 123.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/2.095, allocations: 0 / 0.983 GB, free: 123.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004414/2.099, allocations: 0.9646 MB / 0.9839 GB, free: 122.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/2.099, allocations: 19.89 kB / 0.984 GB, free: 122.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/2.099, allocations: 8 kB / 0.984 GB, free: 122.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002486/2.102, allocations: 260.8 kB / 0.9842 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/2.103, allocations: 131.8 kB / 0.9843 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/2.105, allocations: 0.8451 MB / 0.9852 GB, free: 121.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/2.106, allocations: 51.77 kB / 0.9852 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/2.107, allocations: 43.97 kB / 0.9853 GB, free: 121.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.0007389/2.107, allocations: 250.6 kB / 0.9855 GB, free: 121.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/2.108, allocations: 63.25 kB / 0.9856 GB, free: 121.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/2.111, allocations: 0.6954 MB / 0.9862 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/2.111, allocations: 4 kB / 0.9862 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/2.111, allocations: 0 / 0.9862 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/2.111, allocations: 0 / 0.9862 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004606/2.115, allocations: 1.375 MB / 0.9876 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/2.116, allocations: 4 kB / 0.9876 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002721/2.118, allocations: 196 kB / 0.9878 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000691/2.119, allocations: 60.81 kB / 0.9878 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/2.119, allocations: 15.98 kB / 0.9878 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003798/2.123, allocations: 2.797 MB / 0.9906 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-06/2.123, allocations: 7.969 kB / 0.9906 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003385/2.126, allocations: 1.046 MB / 0.9916 GB, free: 114.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006484/2.127, allocations: 200.5 kB / 0.9918 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/2.127, allocations: 15.95 kB / 0.9918 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/2.128, allocations: 32.05 kB / 0.9918 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/2.129, allocations: 35.94 kB / 0.9919 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.295e-05/2.129, allocations: 23.98 kB / 0.9919 GB, free: 114.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009759/2.13, allocations: 378.8 kB / 0.9923 GB, free: 113.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.31e-07/2.13, allocations: 4 kB / 0.9923 GB, free: 113.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0021/2.132, allocations: 219.9 kB / 0.9925 GB, free: 113.6 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.00441/2.136, allocations: 2.253 MB / 0.9947 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002415/2.139, allocations: 0.6051 MB / 0.9953 GB, free: 110.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/2.139, allocations: 0 / 0.9953 GB, free: 110.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002395/2.141, allocations: 466.5 kB / 0.9957 GB, free: 110.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/2.145, allocations: 306.3 kB / 0.996 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/2.16, allocations: 11.06 MB / 1.007 GB, free: 98.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006947/2.16, allocations: 0.9503 MB / 1.008 GB, free: 97.62 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001711/2.162, allocations: 201.7 kB / 1.008 GB, free: 97.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006901/2.163, allocations: 231.4 kB / 1.008 GB, free: 97.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/2.163, allocations: 0 / 1.008 GB, free: 97.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1241/2.287, allocations: 19.76 MB / 1.027 GB, free: 77.48 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/2.287, allocations: 289.6 kB / 1.028 GB, free: 77.12 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.672/5.959, allocations: 0 / 1.028 GB, free: 77.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.LinearColdWater_res.mat does not exist to compare? outputFormat=mat