Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.229/2.229, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 86.25 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3584/0.3584, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.651e-05/2.655e-05, allocations: 4 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4337, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7403/1.174, allocations: 240 MB / 0.7004 GB, free: 94.36 MB / 475.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/1.174, allocations: 98.81 kB / 0.7005 GB, free: 94.31 MB / 475.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.387/2.562, allocations: 287 MB / 0.9807 GB, free: 50.83 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.974e-06/2.562, allocations: 0 / 0.9807 GB, free: 50.83 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 9.028e-05/2.562, allocations: 20 kB / 0.9808 GB, free: 50.81 MB / 0.4952 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.005923/2.568, allocations: 1.564 MB / 0.9823 GB, free: 49.21 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 7.787e-05/2.568, allocations: 8.031 kB / 0.9823 GB, free: 49.2 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/2.57, allocations: 135 kB / 0.9824 GB, free: 49.07 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/2.571, allocations: 0.5528 MB / 0.983 GB, free: 48.48 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/2.572, allocations: 80.72 kB / 0.983 GB, free: 48.39 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/2.572, allocations: 39.89 kB / 0.9831 GB, free: 48.35 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001278/2.573, allocations: 498.4 kB / 0.9836 GB, free: 47.87 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/2.574, allocations: 0.7388 MB / 0.9843 GB, free: 47.04 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/2.574, allocations: 3.938 kB / 0.9843 GB, free: 47.04 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/2.575, allocations: 8 kB / 0.9843 GB, free: 47.03 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.062e-05/2.575, allocations: 41.28 kB / 0.9843 GB, free: 46.99 MB / 0.4952 GB Warning: The model contains alias variables with conflicting start and/or 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.006241/2.581, allocations: 4.318 MB / 0.9885 GB, free: 42.4 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006003/2.582, allocations: 298.6 kB / 0.9888 GB, free: 42.1 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/2.582, allocations: 136.8 kB / 0.989 GB, free: 41.96 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/2.582, allocations: 340.4 kB / 0.9893 GB, free: 41.56 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/2.582, allocations: 38.56 kB / 0.9893 GB, free: 41.51 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=30): time 3.236e-06/2.582, allocations: 0 / 0.9893 GB, free: 41.51 MB / 0.4952 GB Notification: Performance of matching and sorting (n=36): time 0.004768/2.587, allocations: 1.238 MB / 0.9905 GB, free: 40.22 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/2.587, allocations: 132.5 kB / 0.9907 GB, free: 40.06 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007215/2.588, allocations: 466 kB / 0.9911 GB, free: 39.6 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/2.588, allocations: 25.7 kB / 0.9911 GB, free: 39.57 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/2.588, allocations: 437.3 kB / 0.9915 GB, free: 39.13 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/2.588, allocations: 126.2 kB / 0.9917 GB, free: 39.01 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/2.588, allocations: 4 kB / 0.9917 GB, free: 39 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/2.588, allocations: 338.8 kB / 0.992 GB, free: 38.66 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/2.589, allocations: 177.5 kB / 0.9922 GB, free: 38.49 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/2.589, allocations: 474.3 kB / 0.9926 GB, free: 37.88 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/2.591, allocations: 336.5 kB / 0.9929 GB, free: 37.56 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/2.591, allocations: 4 kB / 0.9929 GB, free: 37.55 MB / 0.4952 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002364/2.593, allocations: 0.7939 MB / 0.9937 GB, free: 36.75 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/2.593, allocations: 11.98 kB / 0.9937 GB, free: 36.73 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/2.593, allocations: 8 kB / 0.9937 GB, free: 36.73 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/2.594, allocations: 222 kB / 0.9939 GB, free: 36.51 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/2.595, allocations: 127.8 kB / 0.9941 GB, free: 36.38 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/2.597, allocations: 1.417 MB / 0.9955 GB, free: 34.91 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008992/2.598, allocations: 19.98 kB / 0.9955 GB, free: 34.89 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.481e-05/2.598, allocations: 47.92 kB / 0.9955 GB, free: 34.85 MB / 0.4952 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 (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.0002088/2.598, allocations: 136.8 kB / 0.9956 GB, free: 34.71 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001752/2.6, allocations: 0.491 MB / 0.9961 GB, free: 34.2 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/2.6, allocations: 67.23 kB / 0.9962 GB, free: 34.14 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/2.602, allocations: 0.6928 MB / 0.9969 GB, free: 33.43 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/2.602, allocations: 4 kB / 0.9969 GB, free: 33.43 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/2.602, allocations: 0 / 0.9969 GB, free: 33.43 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/2.602, allocations: 7.938 kB / 0.9969 GB, free: 33.42 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/2.605, allocations: 1.177 MB / 0.998 GB, free: 32.19 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/2.605, allocations: 0 / 0.998 GB, free: 32.19 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/2.606, allocations: 39.97 kB / 0.9981 GB, free: 32.15 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007653/2.607, allocations: 157.6 kB / 0.9982 GB, free: 31.99 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/2.607, allocations: 11.98 kB / 0.9982 GB, free: 31.98 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/2.608, allocations: 1.308 MB / 0.9995 GB, free: 30.62 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/2.608, allocations: 12.14 kB / 0.9995 GB, free: 30.61 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/2.61, allocations: 0.8179 MB / 1 GB, free: 29.75 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/2.611, allocations: 196.2 kB / 1.001 GB, free: 29.54 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/2.611, allocations: 0 / 1.001 GB, free: 29.54 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000692/2.611, allocations: 19.97 kB / 1.001 GB, free: 29.52 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/2.611, allocations: 31.98 kB / 1.001 GB, free: 29.48 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.157e-05/2.612, allocations: 27.98 kB / 1.001 GB, free: 29.46 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0005585/2.612, allocations: 347 kB / 1.001 GB, free: 29.12 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.61e-07/2.612, allocations: 0 / 1.001 GB, free: 29.12 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001759/2.614, allocations: 351.7 kB / 1.001 GB, free: 28.78 MB / 0.4952 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 () * 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.003799/2.618, allocations: 1.841 MB / 1.003 GB, free: 26.91 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001373/2.619, allocations: 466.3 kB / 1.003 GB, free: 26.46 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/2.619, allocations: 0 / 1.003 GB, free: 26.46 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0006224/2.62, allocations: 197.4 kB / 1.004 GB, free: 26.27 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/2.622, allocations: 258.8 kB / 1.004 GB, free: 26.01 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/2.625, allocations: 1.117 MB / 1.005 GB, free: 24.84 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/2.626, allocations: 0.9456 MB / 1.006 GB, free: 23.86 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/2.626, allocations: 239.3 kB / 1.006 GB, free: 23.63 MB / 0.4952 GB Notification: Performance of SimCode: time 9.12e-07/2.626, allocations: 0 / 1.006 GB, free: 23.63 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.165/5.792, allocations: 20.64 MB / 1.026 GB, free: 2.996 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat