Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.001601, allocations: 170.4 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009467/0.0009471, allocations: 86.98 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2124/0.2124, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.119e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1475, allocations: 61.91 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.479/1.626, allocations: 422.1 MB / 0.907 GB, free: 186.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/1.627, allocations: 89.53 kB / 0.9071 GB, free: 186.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2391/1.866, allocations: 120.8 MB / 1.025 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.984e-06/1.866, allocations: 448 / 1.025 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.493e-05/1.866, allocations: 19.94 kB / 1.025 GB, free: 73.48 MB / 0.5105 GB 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.002871/1.869, allocations: 0.9831 MB / 1.026 GB, free: 72.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.009e-05/1.869, allocations: 11.98 kB / 1.026 GB, free: 72.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000352/1.869, allocations: 87.06 kB / 1.026 GB, free: 72.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/1.871, allocations: 0.5351 MB / 1.027 GB, free: 71.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/1.871, allocations: 92.59 kB / 1.027 GB, free: 71.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.47e-05/1.871, allocations: 28 kB / 1.027 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009156/1.872, allocations: 0.5492 MB / 1.027 GB, free: 71.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/1.873, allocations: 0.7409 MB / 1.028 GB, free: 70.28 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/1.873, allocations: 3.938 kB / 1.028 GB, free: 70.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/1.873, allocations: 4 kB / 1.028 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.328e-05/1.873, allocations: 37.3 kB / 1.028 GB, free: 70.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004273/1.877, allocations: 3.97 MB / 1.032 GB, free: 66.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005713/1.878, allocations: 315.2 kB / 1.032 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/1.878, allocations: 165.3 kB / 1.032 GB, free: 65.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003501/1.879, allocations: 352.7 kB / 1.033 GB, free: 65.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/1.879, allocations: 34.84 kB / 1.033 GB, free: 65.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.427e-06/1.879, allocations: 0 / 1.033 GB, free: 65.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.002963/1.882, allocations: 1.279 MB / 1.034 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/1.882, allocations: 136.5 kB / 1.034 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/1.882, allocations: 442 kB / 1.035 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/1.882, allocations: 29.7 kB / 1.035 GB, free: 63.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/1.882, allocations: 383 kB / 1.035 GB, free: 62.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.478e-05/1.882, allocations: 138.1 kB / 1.035 GB, free: 62.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/1.882, allocations: 4 kB / 1.035 GB, free: 62.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.882, allocations: 362.8 kB / 1.035 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/1.883, allocations: 193.5 kB / 1.036 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/1.883, allocations: 494.3 kB / 1.036 GB, free: 61.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005771/1.884, allocations: 328.5 kB / 1.036 GB, free: 61.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.884, allocations: 4 kB / 1.036 GB, free: 61.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001696/1.885, allocations: 0.8908 MB / 1.037 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/1.885, allocations: 12 kB / 1.037 GB, free: 60.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/1.885, allocations: 8 kB / 1.037 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007785/1.886, allocations: 234.2 kB / 1.038 GB, free: 59.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/1.887, allocations: 123.8 kB / 1.038 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008366/1.888, allocations: 0.8683 MB / 1.038 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/1.888, allocations: 36.03 kB / 1.039 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.675e-05/1.888, allocations: 35.98 kB / 1.039 GB, free: 58.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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.000153/1.888, allocations: 136.7 kB / 1.039 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008968/1.889, allocations: 493.7 kB / 1.039 GB, free: 58.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/1.889, allocations: 59.25 kB / 1.039 GB, free: 58.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/1.89, allocations: 0.5879 MB / 1.04 GB, free: 57.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/1.89, allocations: 8 kB / 1.04 GB, free: 57.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.89, allocations: 0 / 1.04 GB, free: 57.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/1.89, allocations: 11.88 kB / 1.04 GB, free: 57.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/1.893, allocations: 1.484 MB / 1.041 GB, free: 55.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.893, allocations: 4 kB / 1.041 GB, free: 55.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009162/1.893, allocations: 188 kB / 1.041 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/1.894, allocations: 52.7 kB / 1.041 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/1.894, allocations: 11.98 kB / 1.041 GB, free: 55.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/1.896, allocations: 2.683 MB / 1.044 GB, free: 52.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.896, allocations: 4.031 kB / 1.044 GB, free: 52.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/1.897, allocations: 0.961 MB / 1.045 GB, free: 51.72 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/1.897, allocations: 192.3 kB / 1.045 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.971e-05/1.897, allocations: 7.984 kB / 1.045 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/1.898, allocations: 23.83 kB / 1.045 GB, free: 51.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/1.898, allocations: 39.97 kB / 1.045 GB, free: 51.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/1.898, allocations: 19.98 kB / 1.045 GB, free: 51.42 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003455/1.898, allocations: 318.9 kB / 1.046 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/1.898, allocations: 0 / 1.046 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009703/1.899, allocations: 207.9 kB / 1.046 GB, free: 50.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * 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.002041/1.901, allocations: 2.085 MB / 1.048 GB, free: 48.76 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009935/1.902, allocations: 0.5201 MB / 1.048 GB, free: 48.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.902, allocations: 256 / 1.048 GB, free: 48.24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009089/1.903, allocations: 421.5 kB / 1.049 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/1.904, allocations: 268.9 kB / 1.049 GB, free: 47.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/1.907, allocations: 1.111 MB / 1.05 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/1.907, allocations: 0.9497 MB / 1.051 GB, free: 45.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006852/1.908, allocations: 189.2 kB / 1.051 GB, free: 45.22 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003333/1.908, allocations: 231.3 kB / 1.051 GB, free: 45 MB / 0.5105 GB Notification: Performance of SimCode: time 1.223e-06/1.908, allocations: 0 / 1.051 GB, free: 45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04126/1.949, allocations: 17.47 MB / 1.069 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/1.95, allocations: 206.5 kB / 1.069 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/4.616, allocations: 0 / 1.069 GB, free: 27.32 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat