Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.001706/0.001705, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.568/1.568, allocations: 223.2 MB / 241 MB, free: 11.91 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.001281/0.001281, allocations: 94.52 kB / 292.1 MB, free: 10.94 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.4718/0.4718, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003909, allocations: 12 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4329, allocations: 61.89 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5819/1.015, allocations: 237.1 MB / 0.7412 GB, free: 113 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/1.015, allocations: 103.9 kB / 0.7413 GB, free: 112.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.021/2.036, allocations: 260.3 MB / 0.9955 GB, free: 52.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/2.037, allocations: 0 / 0.9955 GB, free: 52.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.038e-05/2.037, allocations: 16 kB / 0.9955 GB, free: 52.04 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.003564/2.04, allocations: 1.27 MB / 0.9967 GB, free: 50.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/2.04, allocations: 12.56 kB / 0.9968 GB, free: 50.7 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002806/2.041, allocations: 98.5 kB / 0.9969 GB, free: 50.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/2.042, allocations: 143 kB / 0.997 GB, free: 50.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/2.043, allocations: 0.5482 MB / 0.9975 GB, free: 49.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.973e-05/2.043, allocations: 104.4 kB / 0.9976 GB, free: 49.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/2.043, allocations: 51.94 kB / 0.9977 GB, free: 49.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/2.045, allocations: 0.8247 MB / 0.9985 GB, free: 48.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/2.045, allocations: 3.938 kB / 0.9985 GB, free: 48.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.541e-05/2.045, allocations: 27.98 kB / 0.9985 GB, free: 48.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.181e-05/2.045, allocations: 40.97 kB / 0.9985 GB, free: 48.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/2.046, allocations: 0.593 MB / 0.9991 GB, free: 48.12 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.00452/2.05, allocations: 4.487 MB / 1.004 GB, free: 43.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/2.051, allocations: 318.9 kB / 1.004 GB, free: 42.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/2.051, allocations: 421.5 kB / 1.004 GB, free: 42.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/2.051, allocations: 38.56 kB / 1.004 GB, free: 42.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 1.943e-06/2.051, allocations: 0 / 1.004 GB, free: 42.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.00444/2.056, allocations: 1.508 MB / 1.006 GB, free: 40.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/2.056, allocations: 140.4 kB / 1.006 GB, free: 40.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007156/2.057, allocations: 0.5735 MB / 1.006 GB, free: 40.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/2.057, allocations: 37.7 kB / 1.006 GB, free: 40.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/2.057, allocations: 390.5 kB / 1.007 GB, free: 39.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.782e-05/2.057, allocations: 130.2 kB / 1.007 GB, free: 39.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/2.057, allocations: 16 kB / 1.007 GB, free: 39.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/2.057, allocations: 382.8 kB / 1.007 GB, free: 39.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/2.057, allocations: 193.9 kB / 1.008 GB, free: 38.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/2.058, allocations: 498 kB / 1.008 GB, free: 38.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/2.058, allocations: 292.5 kB / 1.008 GB, free: 38.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/2.058, allocations: 4 kB / 1.008 GB, free: 38.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001172/2.059, allocations: 0.8483 MB / 1.009 GB, free: 37.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/2.059, allocations: 8 kB / 1.009 GB, free: 37.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/2.059, allocations: 8 kB / 1.009 GB, free: 37.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/2.061, allocations: 296.1 kB / 1.009 GB, free: 36.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/2.061, allocations: 123.8 kB / 1.01 GB, free: 36.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009217/2.062, allocations: 1.393 MB / 1.011 GB, free: 35.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006218/2.063, allocations: 31.98 kB / 1.011 GB, free: 35.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/2.063, allocations: 43.95 kB / 1.011 GB, free: 35.22 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.0003356/2.063, allocations: 249.7 kB / 1.011 GB, free: 34.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/2.063, allocations: 67.16 kB / 1.011 GB, free: 34.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/2.064, allocations: 0.6768 MB / 1.012 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/2.064, allocations: 7.953 kB / 1.012 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/2.064, allocations: 7.938 kB / 1.012 GB, free: 34.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/2.064, allocations: 3.984 kB / 1.012 GB, free: 34.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/2.066, allocations: 1.198 MB / 1.013 GB, free: 32.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/2.066, allocations: 0 / 1.013 GB, free: 32.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/2.066, allocations: 44.05 kB / 1.013 GB, free: 32.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007971/2.067, allocations: 193.5 kB / 1.013 GB, free: 32.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/2.067, allocations: 12 kB / 1.013 GB, free: 32.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008059/2.068, allocations: 1.292 MB / 1.015 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/2.068, allocations: 0 / 1.015 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/2.069, allocations: 0.8248 MB / 1.015 GB, free: 30.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/2.069, allocations: 188.3 kB / 1.016 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/2.07, allocations: 12 kB / 1.016 GB, free: 30.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/2.07, allocations: 27.95 kB / 1.016 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/2.07, allocations: 31.86 kB / 1.016 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/2.07, allocations: 15.98 kB / 1.016 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005113/2.071, allocations: 451 kB / 1.016 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.21e-07/2.071, allocations: 4 kB / 1.016 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001174/2.072, allocations: 279.9 kB / 1.016 GB, free: 29.45 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 (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.002038/2.074, allocations: 1.715 MB / 1.018 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001024/2.075, allocations: 0.5117 MB / 1.019 GB, free: 27.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/2.075, allocations: 0 / 1.019 GB, free: 27.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004185/2.075, allocations: 211.8 kB / 1.019 GB, free: 26.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/2.077, allocations: 309 kB / 1.019 GB, free: 26.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00891/2.086, allocations: 10.33 MB / 1.029 GB, free: 16.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/2.086, allocations: 0.95 MB / 1.03 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009221/2.087, allocations: 253.9 kB / 1.03 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/2.088, allocations: 235.3 kB / 1.031 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of SimCode: time 2.605e-06/2.088, allocations: 0 / 1.031 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04317/2.131, allocations: 21 MB / 1.051 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/2.131, allocations: 284.2 kB / 1.051 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/4.902, allocations: 3.516 kB / 1.051 GB, free: 9.711 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat