Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.001691/0.001691, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009419/0.0009418, allocations: 99.62 kB / 292.1 MB, free: 10.72 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.4126/0.4126, allocations: 44.22 MB / 387.5 MB, free: 38.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003576, allocations: 8 kB / 460 MB, free: 1.465 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4094, allocations: 61.9 MB / 0.5096 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6127/1.022, allocations: 237.2 MB / 0.7413 GB, free: 90.24 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/1.023, allocations: 104.2 kB / 0.7414 GB, free: 90.22 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.859/1.882, allocations: 248.7 MB / 0.9843 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.315e-06/1.882, allocations: 0 / 0.9843 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.779e-05/1.882, allocations: 16 kB / 0.9843 GB, free: 113.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002837/1.885, allocations: 1.272 MB / 0.9855 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.885, allocations: 16.02 kB / 0.9855 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/1.885, allocations: 102.4 kB / 0.9856 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009626/1.886, allocations: 139.1 kB / 0.9858 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009746/1.887, allocations: 0.5516 MB / 0.9863 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/1.887, allocations: 108.3 kB / 0.9864 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/1.887, allocations: 55.84 kB / 0.9865 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/1.888, allocations: 0.8207 MB / 0.9873 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/1.888, allocations: 0 / 0.9873 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.09e-05/1.888, allocations: 24 kB / 0.9873 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-05/1.888, allocations: 44.92 kB / 0.9873 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009358/1.889, allocations: 0.5931 MB / 0.9879 GB, free: 110 MB / 0.5261 GB 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.004041/1.893, allocations: 4.489 MB / 0.9923 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/1.894, allocations: 317.1 kB / 0.9926 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/1.894, allocations: 421.4 kB / 0.993 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/1.894, allocations: 34.56 kB / 0.993 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.344e-06/1.894, allocations: 3.938 kB / 0.993 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.003556/1.898, allocations: 1.508 MB / 0.9945 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/1.898, allocations: 136.4 kB / 0.9946 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005979/1.898, allocations: 0.5774 MB / 0.9952 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/1.898, allocations: 29.7 kB / 0.9952 GB, free: 102 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/1.899, allocations: 390 kB / 0.9956 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/1.899, allocations: 137.1 kB / 0.9957 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/1.899, allocations: 12 kB / 0.9957 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/1.899, allocations: 378.7 kB / 0.9961 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/1.899, allocations: 201.9 kB / 0.9963 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/1.9, allocations: 498 kB / 0.9968 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/1.9, allocations: 288.6 kB / 0.997 GB, free: 100 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.9, allocations: 0 / 0.997 GB, free: 100 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001117/1.901, allocations: 0.8559 MB / 0.9979 GB, free: 99.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/1.901, allocations: 15.94 kB / 0.9979 GB, free: 99.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.901, allocations: 8 kB / 0.9979 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/1.902, allocations: 284.4 kB / 0.9982 GB, free: 98.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/1.903, allocations: 127.8 kB / 0.9983 GB, free: 98.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009676/1.904, allocations: 1.393 MB / 0.9997 GB, free: 97.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000583/1.904, allocations: 35.98 kB / 0.9997 GB, free: 97.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/1.904, allocations: 43.98 kB / 0.9997 GB, free: 97.18 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.000371/1.905, allocations: 241.7 kB / 1 GB, free: 96.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/1.905, allocations: 75.11 kB / 1 GB, free: 96.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/1.906, allocations: 0.6816 MB / 1.001 GB, free: 96.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/1.906, allocations: 8 kB / 1.001 GB, free: 96.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.906, allocations: 0 / 1.001 GB, free: 96.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.906, allocations: 0 / 1.001 GB, free: 96.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/1.908, allocations: 1.198 MB / 1.002 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.908, allocations: 4.062 kB / 1.002 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/1.908, allocations: 43.88 kB / 1.002 GB, free: 94.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008003/1.909, allocations: 201.4 kB / 1.002 GB, free: 94.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/1.909, allocations: 11.94 kB / 1.002 GB, free: 94.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000775/1.91, allocations: 1.292 MB / 1.003 GB, free: 93.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.91, allocations: 3.953 kB / 1.003 GB, free: 93.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009896/1.911, allocations: 0.8123 MB / 1.004 GB, free: 92.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/1.911, allocations: 192.2 kB / 1.004 GB, free: 92.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.451e-05/1.911, allocations: 11.98 kB / 1.004 GB, free: 92.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/1.912, allocations: 28.05 kB / 1.004 GB, free: 92.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/1.912, allocations: 19.97 kB / 1.004 GB, free: 92.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/1.912, allocations: 19.98 kB / 1.004 GB, free: 92.15 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004544/1.912, allocations: 447 kB / 1.005 GB, free: 91.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.912, allocations: 0 / 1.005 GB, free: 91.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001047/1.913, allocations: 287.8 kB / 1.005 GB, free: 91.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001801/1.915, allocations: 1.718 MB / 1.007 GB, free: 89.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009206/1.916, allocations: 0.5077 MB / 1.007 GB, free: 89.19 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.916, allocations: 8.188 kB / 1.007 GB, free: 89.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/1.916, allocations: 211.6 kB / 1.008 GB, free: 88.97 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/1.918, allocations: 310.4 kB / 1.008 GB, free: 88.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006563/1.924, allocations: 10.33 MB / 1.018 GB, free: 78.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/1.925, allocations: 0.9422 MB / 1.019 GB, free: 77.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008558/1.925, allocations: 261.9 kB / 1.019 GB, free: 76.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/1.926, allocations: 231.3 kB / 1.019 GB, free: 76.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.483e-06/1.926, allocations: 4 kB / 1.019 GB, free: 76.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03749/1.963, allocations: 20.99 MB / 1.04 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/1.963, allocations: 280.4 kB / 1.04 GB, free: 55.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/4.745, allocations: 0 / 1.04 GB, free: 55.67 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat