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.001654/0.001653, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001189/0.001188, allocations: 82.7 kB / 267.5 MB, free: 14.04 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.2984/0.2984, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.265e-05/4.282e-05, allocations: 7.984 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1319, allocations: 58.85 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.14/1.272, allocations: 240.7 MB / 0.708 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000518/1.273, allocations: 92.27 kB / 0.708 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.431/2.703, allocations: 289.4 MB / 0.9906 GB, free: 95.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.733e-06/2.704, allocations: 0 / 0.9906 GB, free: 95.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.987e-05/2.704, allocations: 20.16 kB / 0.9907 GB, free: 95.31 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.005224/2.709, allocations: 1.556 MB / 0.9922 GB, free: 93.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/2.709, allocations: 11.97 kB / 0.9922 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002568/2.709, allocations: 97.56 kB / 0.9923 GB, free: 93.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/2.711, allocations: 139 kB / 0.9924 GB, free: 93.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/2.712, allocations: 0.5506 MB / 0.9929 GB, free: 92.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/2.712, allocations: 103.3 kB / 0.993 GB, free: 92.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/2.713, allocations: 58.34 kB / 0.9931 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/2.715, allocations: 0.8169 MB / 0.9939 GB, free: 91.83 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/2.715, allocations: 3.953 kB / 0.9939 GB, free: 91.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/2.715, allocations: 30.5 kB / 0.9939 GB, free: 91.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.831e-05/2.715, allocations: 40.92 kB / 0.994 GB, free: 91.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/2.716, allocations: 0.5697 MB / 0.9945 GB, free: 91.2 MB / 0.4948 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.006373/2.723, allocations: 4.423 MB / 0.9988 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009214/2.724, allocations: 316.8 kB / 0.9991 GB, free: 86.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/2.724, allocations: 141.7 kB / 0.9993 GB, free: 86.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/2.724, allocations: 348 kB / 0.9996 GB, free: 85.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/2.724, allocations: 34.56 kB / 0.9996 GB, free: 85.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 3.487e-06/2.724, allocations: 4 kB / 0.9996 GB, free: 85.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.004403/2.729, allocations: 1.259 MB / 1.001 GB, free: 84.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/2.729, allocations: 136.5 kB / 1.001 GB, free: 84.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009421/2.73, allocations: 0.562 MB / 1.002 GB, free: 83.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/2.73, allocations: 33.7 kB / 1.002 GB, free: 83.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/2.73, allocations: 422.4 kB / 1.002 GB, free: 83.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/2.73, allocations: 133.2 kB / 1.002 GB, free: 82.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/2.73, allocations: 12 kB / 1.002 GB, free: 82.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.168e-05/2.731, allocations: 346.8 kB / 1.002 GB, free: 82.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/2.731, allocations: 193.5 kB / 1.003 GB, free: 82.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/2.732, allocations: 495.6 kB / 1.003 GB, free: 81.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006145/2.732, allocations: 293.5 kB / 1.003 GB, free: 81.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/2.732, allocations: 4 kB / 1.003 GB, free: 81.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001852/2.734, allocations: 0.8023 MB / 1.004 GB, free: 80.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/2.734, allocations: 8.188 kB / 1.004 GB, free: 80.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/2.734, allocations: 15.94 kB / 1.004 GB, free: 80.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/2.736, allocations: 278.8 kB / 1.004 GB, free: 80.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/2.737, allocations: 119.8 kB / 1.005 GB, free: 80.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/2.738, allocations: 1.385 MB / 1.006 GB, free: 78.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/2.739, allocations: 44.17 kB / 1.006 GB, free: 78.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/2.739, allocations: 51.92 kB / 1.006 GB, free: 78.73 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 () * 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.000212/2.739, allocations: 152.7 kB / 1.006 GB, free: 78.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/2.74, allocations: 75.11 kB / 1.006 GB, free: 78.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/2.742, allocations: 0.6938 MB / 1.007 GB, free: 77.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/2.742, allocations: 4 kB / 1.007 GB, free: 77.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/2.742, allocations: 0 / 1.007 GB, free: 77.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/2.742, allocations: 3.984 kB / 1.007 GB, free: 77.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/2.744, allocations: 1.218 MB / 1.008 GB, free: 76.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/2.744, allocations: 0 / 1.008 GB, free: 76.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/2.745, allocations: 51.88 kB / 1.008 GB, free: 76.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/2.746, allocations: 189.6 kB / 1.008 GB, free: 76.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/2.746, allocations: 12 kB / 1.008 GB, free: 76.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/2.747, allocations: 1.3 MB / 1.01 GB, free: 74.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/2.747, allocations: 3.953 kB / 1.01 GB, free: 74.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/2.749, allocations: 0.8065 MB / 1.01 GB, free: 74.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004241/2.75, allocations: 204.2 kB / 1.011 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/2.75, allocations: 15.98 kB / 1.011 GB, free: 73.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007156/2.75, allocations: 19.98 kB / 1.011 GB, free: 73.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/2.751, allocations: 28.03 kB / 1.011 GB, free: 73.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.771e-05/2.751, allocations: 19.98 kB / 1.011 GB, free: 73.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007806/2.751, allocations: 447.1 kB / 1.011 GB, free: 73.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.71e-07/2.751, allocations: 0 / 1.011 GB, free: 73.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001719/2.753, allocations: 383.6 kB / 1.011 GB, free: 72.93 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 () * 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.003339/2.757, allocations: 1.86 MB / 1.013 GB, free: 71.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001464/2.758, allocations: 0.5079 MB / 1.014 GB, free: 70.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/2.758, allocations: 0 / 1.014 GB, free: 70.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006457/2.759, allocations: 199.8 kB / 1.014 GB, free: 70.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/2.761, allocations: 310.7 kB / 1.014 GB, free: 70.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/2.765, allocations: 1.173 MB / 1.015 GB, free: 68.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/2.765, allocations: 0.9422 MB / 1.016 GB, free: 67.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004993/2.766, allocations: 251.3 kB / 1.017 GB, free: 67.62 MB / 0.4948 GB Notification: Performance of SimCode: time 8.61e-07/2.766, allocations: 0 / 1.017 GB, free: 67.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.413/6.178, allocations: 21.37 MB / 1.037 GB, free: 46.26 MB / 0.4948 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