Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001566/0.001566, allocations: 183.3 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009737/0.0009734, allocations: 94.55 kB / 267.1 MB, free: 9.289 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.4999/0.4999, allocations: 43.46 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.471e-05/4.473e-05, allocations: 4 kB / 425.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1879, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.301, allocations: 240.8 MB / 0.7081 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/1.301, allocations: 93.47 kB / 0.7082 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.01/2.311, allocations: 277.7 MB / 0.9794 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.743e-06/2.311, allocations: 0 / 0.9794 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.829e-05/2.311, allocations: 23.91 kB / 0.9794 GB, free: 94.57 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.004611/2.316, allocations: 1.553 MB / 0.981 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/2.316, allocations: 12.03 kB / 0.981 GB, free: 92.97 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/2.316, allocations: 98.52 kB / 0.9811 GB, free: 92.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009783/2.317, allocations: 146.9 kB / 0.9812 GB, free: 92.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/2.318, allocations: 0.5545 MB / 0.9817 GB, free: 92.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.351e-05/2.318, allocations: 100.4 kB / 0.9818 GB, free: 92.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.349e-05/2.318, allocations: 48 kB / 0.9819 GB, free: 91.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/2.32, allocations: 0.824 MB / 0.9827 GB, free: 91.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/2.32, allocations: 3.906 kB / 0.9827 GB, free: 91.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.934e-05/2.32, allocations: 27.69 kB / 0.9827 GB, free: 91.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/2.32, allocations: 44.94 kB / 0.9828 GB, free: 91.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009252/2.321, allocations: 0.5659 MB / 0.9833 GB, free: 90.45 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.004116/2.325, allocations: 4.429 MB / 0.9876 GB, free: 85.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/2.325, allocations: 317.1 kB / 0.9879 GB, free: 85.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/2.326, allocations: 132.8 kB / 0.9881 GB, free: 85.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/2.326, allocations: 343.8 kB / 0.9884 GB, free: 84.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/2.326, allocations: 43 kB / 0.9884 GB, free: 84.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.946e-06/2.326, allocations: 0 / 0.9884 GB, free: 84.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.003255/2.329, allocations: 1.259 MB / 0.9897 GB, free: 83.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/2.329, allocations: 136.5 kB / 0.9898 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000675/2.33, allocations: 0.5696 MB / 0.9904 GB, free: 82.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/2.33, allocations: 33.7 kB / 0.9904 GB, free: 82.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/2.33, allocations: 389.3 kB / 0.9908 GB, free: 82.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.443e-05/2.33, allocations: 128.9 kB / 0.9909 GB, free: 82.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/2.33, allocations: 16 kB / 0.9909 GB, free: 82.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00011/2.33, allocations: 374.8 kB / 0.9913 GB, free: 81.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/2.331, allocations: 193.5 kB / 0.9914 GB, free: 81.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/2.331, allocations: 492.2 kB / 0.9919 GB, free: 81.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/2.332, allocations: 297.4 kB / 0.9922 GB, free: 80.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/2.332, allocations: 4 kB / 0.9922 GB, free: 80.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001268/2.333, allocations: 0.8482 MB / 0.993 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/2.333, allocations: 12 kB / 0.993 GB, free: 79.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/2.333, allocations: 11.98 kB / 0.9931 GB, free: 79.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/2.334, allocations: 275.5 kB / 0.9933 GB, free: 79.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/2.335, allocations: 123.8 kB / 0.9934 GB, free: 79.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009854/2.336, allocations: 1.39 MB / 0.9948 GB, free: 78.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/2.336, allocations: 36.05 kB / 0.9948 GB, free: 77.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/2.336, allocations: 47.98 kB / 0.9949 GB, free: 77.94 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.0001885/2.336, allocations: 158 kB / 0.995 GB, free: 77.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/2.337, allocations: 75.22 kB / 0.9951 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/2.338, allocations: 0.6877 MB / 0.9958 GB, free: 77.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/2.338, allocations: 11.94 kB / 0.9958 GB, free: 77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/2.338, allocations: 4 kB / 0.9958 GB, free: 77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/2.338, allocations: 0 / 0.9958 GB, free: 77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/2.34, allocations: 1.215 MB / 0.997 GB, free: 75.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/2.34, allocations: 4.062 kB / 0.997 GB, free: 75.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/2.34, allocations: 39.92 kB / 0.997 GB, free: 75.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008348/2.341, allocations: 189.5 kB / 0.9972 GB, free: 75.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/2.341, allocations: 23.88 kB / 0.9972 GB, free: 75.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008288/2.342, allocations: 1.292 MB / 0.9985 GB, free: 74.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/2.342, allocations: 4.031 kB / 0.9985 GB, free: 74.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/2.343, allocations: 0.8218 MB / 0.9993 GB, free: 73.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/2.343, allocations: 200.2 kB / 0.9995 GB, free: 73.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/2.344, allocations: 12 kB / 0.9995 GB, free: 73.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/2.344, allocations: 31.97 kB / 0.9995 GB, free: 72.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/2.344, allocations: 23.97 kB / 0.9995 GB, free: 72.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/2.344, allocations: 19.98 kB / 0.9996 GB, free: 72.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005595/2.345, allocations: 443.1 kB / 1 GB, free: 72.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/2.345, allocations: 0 / 1 GB, free: 72.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001764/2.347, allocations: 379.7 kB / 1 GB, free: 72.14 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.003034/2.35, allocations: 1.864 MB / 1.002 GB, free: 70.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001199/2.351, allocations: 0.5027 MB / 1.003 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/2.351, allocations: 0 / 1.003 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004241/2.351, allocations: 213.2 kB / 1.003 GB, free: 69.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/2.353, allocations: 306.3 kB / 1.003 GB, free: 69.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/2.356, allocations: 1.133 MB / 1.004 GB, free: 68.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/2.356, allocations: 0.9462 MB / 1.005 GB, free: 67.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008485/2.357, allocations: 249.9 kB / 1.005 GB, free: 66.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/2.358, allocations: 239.3 kB / 1.006 GB, free: 66.64 MB / 0.4948 GB Notification: Performance of SimCode: time 1.202e-06/2.358, allocations: 0 / 1.006 GB, free: 66.64 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04362/2.401, allocations: 22.83 MB / 1.028 GB, free: 43.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/2.402, allocations: 254.8 kB / 1.028 GB, free: 43.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.858/5.26, allocations: 4 kB / 1.028 GB, free: 43.49 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat