Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00159/0.001591, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.184/2.184, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001201/0.0012, allocations: 94.09 kB / 270.9 MB, free: 8.379 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.5654/0.5654, allocations: 43.54 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005045/0.0005046, allocations: 12 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1455, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.208, allocations: 240.9 MB / 0.7141 GB, free: 108.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/1.209, allocations: 97.81 kB / 0.7142 GB, free: 108.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343/2.552, allocations: 278.3 MB / 0.986 GB, free: 68.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.555e-06/2.552, allocations: 0 / 0.986 GB, free: 68.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.08e-05/2.552, allocations: 20 kB / 0.986 GB, free: 68.86 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.00555/2.557, allocations: 1.641 MB / 0.9876 GB, free: 67.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/2.557, allocations: 16 kB / 0.9877 GB, free: 67.16 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003023/2.558, allocations: 106.3 kB / 0.9878 GB, free: 67.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/2.559, allocations: 135 kB / 0.9879 GB, free: 66.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/2.561, allocations: 0.5551 MB / 0.9884 GB, free: 66.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/2.561, allocations: 96.41 kB / 0.9885 GB, free: 66.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/2.561, allocations: 55.91 kB / 0.9886 GB, free: 66.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/2.563, allocations: 0.8244 MB / 0.9894 GB, free: 65.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/2.563, allocations: 7.953 kB / 0.9894 GB, free: 65.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/2.563, allocations: 24 kB / 0.9894 GB, free: 65.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.07e-05/2.563, allocations: 48.91 kB / 0.9895 GB, free: 65.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/2.565, allocations: 0.5774 MB / 0.99 GB, free: 64.62 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.006825/2.572, allocations: 4.436 MB / 0.9943 GB, free: 59.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009647/2.573, allocations: 319.7 kB / 0.9947 GB, free: 59.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000305/2.573, allocations: 344.3 kB / 0.995 GB, free: 59.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/2.573, allocations: 43.5 kB / 0.995 GB, free: 59.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.985e-06/2.573, allocations: 0 / 0.995 GB, free: 59.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.006094/2.579, allocations: 1.535 MB / 0.9965 GB, free: 57.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/2.58, allocations: 136.5 kB / 0.9967 GB, free: 57.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/2.581, allocations: 0.5774 MB / 0.9972 GB, free: 56.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.074e-05/2.581, allocations: 33.7 kB / 0.9972 GB, free: 56.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/2.581, allocations: 416.9 kB / 0.9976 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/2.581, allocations: 129.6 kB / 0.9978 GB, free: 56.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/2.581, allocations: 16 kB / 0.9978 GB, free: 56.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001062/2.581, allocations: 338.8 kB / 0.9981 GB, free: 55.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005375/2.582, allocations: 197.9 kB / 0.9983 GB, free: 55.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/2.582, allocations: 0.498 MB / 0.9988 GB, free: 55.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006768/2.583, allocations: 292.5 kB / 0.9991 GB, free: 54.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/2.583, allocations: 4 kB / 0.9991 GB, free: 54.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002079/2.585, allocations: 0.8179 MB / 0.9999 GB, free: 53.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/2.585, allocations: 19.06 kB / 0.9999 GB, free: 53.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/2.585, allocations: 8 kB / 0.9999 GB, free: 53.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/2.587, allocations: 299.9 kB / 1 GB, free: 53.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/2.588, allocations: 123.8 kB / 1 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/2.59, allocations: 1.386 MB / 1.002 GB, free: 52.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009761/2.591, allocations: 44.02 kB / 1.002 GB, free: 51.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.693e-05/2.591, allocations: 40 kB / 1.002 GB, free: 51.93 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.0005125/2.591, allocations: 245.5 kB / 1.002 GB, free: 51.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/2.591, allocations: 63.25 kB / 1.002 GB, free: 51.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/2.594, allocations: 0.7204 MB / 1.003 GB, free: 50.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/2.594, allocations: 4 kB / 1.003 GB, free: 50.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/2.594, allocations: 0 / 1.003 GB, free: 50.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/2.594, allocations: 4 kB / 1.003 GB, free: 50.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/2.597, allocations: 1.22 MB / 1.004 GB, free: 49.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/2.597, allocations: 4 kB / 1.004 GB, free: 49.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/2.597, allocations: 43.92 kB / 1.004 GB, free: 49.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/2.599, allocations: 203.4 kB / 1.004 GB, free: 49.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/2.599, allocations: 11.98 kB / 1.004 GB, free: 49.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/2.6, allocations: 1.296 MB / 1.005 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.6, allocations: 7.984 kB / 1.005 GB, free: 47.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/2.602, allocations: 0.8257 MB / 1.006 GB, free: 47.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004691/2.603, allocations: 204.3 kB / 1.006 GB, free: 46.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/2.603, allocations: 12 kB / 1.006 GB, free: 46.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/2.603, allocations: 31.97 kB / 1.006 GB, free: 46.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/2.604, allocations: 23.97 kB / 1.007 GB, free: 46.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/2.604, allocations: 23.98 kB / 1.007 GB, free: 46.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007917/2.604, allocations: 447 kB / 1.007 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.2e-07/2.604, allocations: 0 / 1.007 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001947/2.606, allocations: 383.2 kB / 1.007 GB, free: 45.98 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.003793/2.61, allocations: 1.862 MB / 1.009 GB, free: 44.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001667/2.612, allocations: 0.5034 MB / 1.01 GB, free: 43.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/2.612, allocations: 4 kB / 1.01 GB, free: 43.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006985/2.613, allocations: 208.7 kB / 1.01 GB, free: 43.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/2.615, allocations: 319.7 kB / 1.01 GB, free: 43.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/2.625, allocations: 10.42 MB / 1.02 GB, free: 32.42 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/2.626, allocations: 0.9482 MB / 1.021 GB, free: 31.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005658/2.626, allocations: 247.3 kB / 1.021 GB, free: 31.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.633e-06/2.626, allocations: 0 / 1.021 GB, free: 31.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.179/5.805, allocations: 21.46 MB / 1.042 GB, free: 9.75 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat