Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001618/0.001618, allocations: 183.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2594/0.2594, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1524, allocations: 58.86 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9493/1.102, allocations: 240.9 MB / 0.7141 GB, free: 174.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003751/1.102, allocations: 95.39 kB / 0.7142 GB, free: 174.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9202/2.022, allocations: 278.3 MB / 0.986 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.408e-06/2.023, allocations: 7.25 kB / 0.986 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.841e-05/2.023, allocations: 19.41 kB / 0.9861 GB, free: 109.2 MB / 0.4948 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.005476/2.028, allocations: 1.636 MB / 0.9877 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/2.028, allocations: 9.531 kB / 0.9877 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/2.028, allocations: 104.8 kB / 0.9878 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/2.029, allocations: 143.5 kB / 0.9879 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/2.031, allocations: 0.5556 MB / 0.9884 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/2.031, allocations: 104.4 kB / 0.9885 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/2.031, allocations: 49.12 kB / 0.9886 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/2.032, allocations: 0.8188 MB / 0.9894 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/2.032, allocations: 3.938 kB / 0.9894 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/2.032, allocations: 26.8 kB / 0.9894 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/2.032, allocations: 46.09 kB / 0.9895 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009478/2.033, allocations: 0.5871 MB / 0.99 GB, free: 106.2 MB / 0.4948 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.004227/2.038, allocations: 4.441 MB / 0.9944 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/2.038, allocations: 323.2 kB / 0.9947 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/2.038, allocations: 348 kB / 0.995 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/2.038, allocations: 41.06 kB / 0.9951 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 3.056e-06/2.038, allocations: 3.812 kB / 0.9951 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.003674/2.042, allocations: 1.522 MB / 0.9965 GB, free: 99.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/2.042, allocations: 136.4 kB / 0.9967 GB, free: 98.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00066/2.043, allocations: 0.5735 MB / 0.9972 GB, free: 98.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/2.043, allocations: 37.7 kB / 0.9973 GB, free: 98.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/2.043, allocations: 389.2 kB / 0.9976 GB, free: 97.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.949e-05/2.043, allocations: 137.9 kB / 0.9978 GB, free: 97.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/2.043, allocations: 8 kB / 0.9978 GB, free: 97.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001084/2.043, allocations: 382.8 kB / 0.9981 GB, free: 97.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/2.044, allocations: 197.9 kB / 0.9983 GB, free: 97.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/2.044, allocations: 0.4915 MB / 0.9988 GB, free: 96.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/2.044, allocations: 288 kB / 0.9991 GB, free: 96.35 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/2.044, allocations: 7.312 kB / 0.9991 GB, free: 96.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001225/2.046, allocations: 0.8659 MB / 0.9999 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/2.046, allocations: 10.97 kB / 1 GB, free: 95.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/2.046, allocations: 8 kB / 1 GB, free: 95.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/2.047, allocations: 291.4 kB / 1 GB, free: 95.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/2.047, allocations: 123.8 kB / 1 GB, free: 95.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000906/2.048, allocations: 1.404 MB / 1.002 GB, free: 93.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/2.049, allocations: 35.98 kB / 1.002 GB, free: 93.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/2.049, allocations: 40 kB / 1.002 GB, free: 93.53 MB / 0.4948 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.0003403/2.049, allocations: 248.3 kB / 1.002 GB, free: 93.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/2.049, allocations: 75.09 kB / 1.002 GB, free: 93.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/2.051, allocations: 0.7021 MB / 1.003 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/2.051, allocations: 4 kB / 1.003 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/2.051, allocations: 0 / 1.003 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/2.051, allocations: 0 / 1.003 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/2.052, allocations: 1.224 MB / 1.004 GB, free: 91.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/2.052, allocations: 4 kB / 1.004 GB, free: 91.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/2.053, allocations: 39.98 kB / 1.004 GB, free: 91.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008312/2.053, allocations: 201.4 kB / 1.004 GB, free: 90.97 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/2.053, allocations: 11.98 kB / 1.004 GB, free: 90.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007412/2.054, allocations: 1.295 MB / 1.006 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/2.054, allocations: 4.031 kB / 1.006 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/2.055, allocations: 0.8369 MB / 1.006 GB, free: 88.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/2.056, allocations: 204.2 kB / 1.007 GB, free: 88.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.919e-05/2.056, allocations: 8 kB / 1.007 GB, free: 88.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/2.056, allocations: 27.41 kB / 1.007 GB, free: 88.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/2.056, allocations: 23.97 kB / 1.007 GB, free: 88.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/2.056, allocations: 23.98 kB / 1.007 GB, free: 88.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004821/2.057, allocations: 447 kB / 1.007 GB, free: 88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/2.057, allocations: 0 / 1.007 GB, free: 88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001582/2.058, allocations: 387.4 kB / 1.007 GB, free: 87.62 MB / 0.4948 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 (26): * Single equations (assignments): 24 * 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.002292/2.061, allocations: 1.874 MB / 1.009 GB, free: 85.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00096/2.062, allocations: 0.5043 MB / 1.01 GB, free: 85.26 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/2.062, allocations: 4 kB / 1.01 GB, free: 85.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003856/2.062, allocations: 211.6 kB / 1.01 GB, free: 85.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/2.063, allocations: 307.2 kB / 1.01 GB, free: 84.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006447/2.07, allocations: 10.37 MB / 1.02 GB, free: 74.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/2.07, allocations: 0.9473 MB / 1.021 GB, free: 73.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008416/2.071, allocations: 244.4 kB / 1.022 GB, free: 73.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/2.071, allocations: 246.2 kB / 1.022 GB, free: 72.83 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/2.071, allocations: 0 / 1.022 GB, free: 72.83 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04083/2.112, allocations: 22.89 MB / 1.044 GB, free: 50.16 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/2.112, allocations: 281.5 kB / 1.044 GB, free: 49.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.825/4.937, allocations: 4 kB / 1.044 GB, free: 49.79 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat