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.00235/0.00235, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.136/2.136, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001207/0.001207, allocations: 96.36 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.541/0.541, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004973, allocations: 16 kB / 431.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1411, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.198, allocations: 240.8 MB / 0.714 GB, free: 108.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/1.198, allocations: 95.22 kB / 0.7141 GB, free: 108.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.438/2.636, allocations: 290 MB / 0.9973 GB, free: 57.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.354e-06/2.636, allocations: 4 kB / 0.9973 GB, free: 57.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.889e-05/2.636, allocations: 20.34 kB / 0.9973 GB, free: 57.52 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.005654/2.642, allocations: 1.643 MB / 0.9989 GB, free: 55.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/2.642, allocations: 12.02 kB / 0.9989 GB, free: 55.83 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005167/2.642, allocations: 102.4 kB / 0.999 GB, free: 55.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/2.644, allocations: 143 kB / 0.9991 GB, free: 55.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/2.646, allocations: 0.548 MB / 0.9997 GB, free: 55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/2.646, allocations: 100.4 kB / 0.9998 GB, free: 54.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/2.647, allocations: 55.98 kB / 0.9998 GB, free: 54.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/2.649, allocations: 0.8245 MB / 1.001 GB, free: 53.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/2.649, allocations: 3.938 kB / 1.001 GB, free: 53.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/2.649, allocations: 27.98 kB / 1.001 GB, free: 53.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.422e-05/2.649, allocations: 40.98 kB / 1.001 GB, free: 53.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/2.651, allocations: 0.5775 MB / 1.001 GB, free: 53.29 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.006953/2.658, allocations: 4.444 MB / 1.006 GB, free: 48.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/2.659, allocations: 322.6 kB / 1.006 GB, free: 48.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/2.66, allocations: 339.7 kB / 1.006 GB, free: 47.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/2.66, allocations: 38.56 kB / 1.006 GB, free: 47.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.705e-06/2.66, allocations: 0 / 1.006 GB, free: 47.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.00645/2.666, allocations: 1.53 MB / 1.008 GB, free: 46.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/2.666, allocations: 137.4 kB / 1.008 GB, free: 46.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/2.667, allocations: 0.5812 MB / 1.008 GB, free: 45.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/2.668, allocations: 29.7 kB / 1.008 GB, free: 45.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/2.668, allocations: 418.5 kB / 1.009 GB, free: 44.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/2.668, allocations: 128.2 kB / 1.009 GB, free: 44.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/2.668, allocations: 20 kB / 1.009 GB, free: 44.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/2.668, allocations: 338.8 kB / 1.009 GB, free: 44.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/2.669, allocations: 197.9 kB / 1.01 GB, free: 44.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006727/2.669, allocations: 0.5018 MB / 1.01 GB, free: 43.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006882/2.67, allocations: 288.6 kB / 1.01 GB, free: 43.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/2.67, allocations: 0 / 1.01 GB, free: 43.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002058/2.672, allocations: 0.8251 MB / 1.011 GB, free: 42.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/2.672, allocations: 8 kB / 1.011 GB, free: 42.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/2.672, allocations: 12 kB / 1.011 GB, free: 42.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002064/2.674, allocations: 282 kB / 1.011 GB, free: 42.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/2.675, allocations: 123.8 kB / 1.012 GB, free: 42.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/2.677, allocations: 1.395 MB / 1.013 GB, free: 40.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009829/2.678, allocations: 36.05 kB / 1.013 GB, free: 40.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/2.678, allocations: 44 kB / 1.013 GB, free: 40.61 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.000536/2.678, allocations: 257.6 kB / 1.013 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/2.678, allocations: 67.16 kB / 1.013 GB, free: 40.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/2.681, allocations: 0.7021 MB / 1.014 GB, free: 39.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/2.681, allocations: 4 kB / 1.014 GB, free: 39.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/2.681, allocations: 0 / 1.014 GB, free: 39.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/2.681, allocations: 4 kB / 1.014 GB, free: 39.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/2.684, allocations: 1.238 MB / 1.015 GB, free: 38.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/2.684, allocations: 0 / 1.015 GB, free: 38.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/2.684, allocations: 39.98 kB / 1.015 GB, free: 38.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/2.685, allocations: 202.8 kB / 1.015 GB, free: 38.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/2.685, allocations: 16.05 kB / 1.015 GB, free: 38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/2.687, allocations: 1.288 MB / 1.017 GB, free: 36.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/2.687, allocations: 0 / 1.017 GB, free: 36.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/2.689, allocations: 0.8296 MB / 1.017 GB, free: 35.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/2.689, allocations: 204.2 kB / 1.018 GB, free: 35.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/2.689, allocations: 11.98 kB / 1.018 GB, free: 35.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000737/2.69, allocations: 31.88 kB / 1.018 GB, free: 35.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/2.69, allocations: 19.97 kB / 1.018 GB, free: 35.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/2.69, allocations: 23.98 kB / 1.018 GB, free: 35.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007712/2.691, allocations: 455 kB / 1.018 GB, free: 35.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.21e-07/2.691, allocations: 3.938 kB / 1.018 GB, free: 35.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001763/2.693, allocations: 385.8 kB / 1.019 GB, free: 34.66 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.003566/2.696, allocations: 1.863 MB / 1.02 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001568/2.698, allocations: 0.5076 MB / 1.021 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/2.698, allocations: 4 kB / 1.021 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006882/2.699, allocations: 208.3 kB / 1.021 GB, free: 32.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/2.701, allocations: 310.6 kB / 1.021 GB, free: 31.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/2.711, allocations: 10.41 MB / 1.032 GB, free: 21.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/2.712, allocations: 0.9422 MB / 1.032 GB, free: 20.13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/2.712, allocations: 247.3 kB / 1.033 GB, free: 19.89 MB / 0.4948 GB Notification: Performance of SimCode: time 1.263e-06/2.712, allocations: 0 / 1.033 GB, free: 19.89 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.707/6.42, allocations: 21.46 MB / 1.054 GB, free: 82.41 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