Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_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.001298/0.001298, allocations: 181.4 kB / 17.01 MB, free: 5.125 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.693/1.693, allocations: 205.4 MB / 223.1 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.001135/0.001135, allocations: 98.58 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003421, allocations: 4 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3001, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4723/0.7725, allocations: 188.7 MB / 0.5514 GB, free: 50.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.7728, allocations: 102.6 kB / 0.5515 GB, free: 50.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6543/1.427, allocations: 200.5 MB / 0.7473 GB, free: 75.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.427, allocations: 0 / 0.7473 GB, free: 75.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.011e-05/1.427, allocations: 8 kB / 0.7473 GB, free: 75.67 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00279/1.43, allocations: 1.032 MB / 0.7483 GB, free: 74.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/1.43, allocations: 8.031 kB / 0.7483 GB, free: 74.58 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/1.43, allocations: 66.53 kB / 0.7484 GB, free: 74.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004223/1.431, allocations: 47.61 kB / 0.7484 GB, free: 74.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/1.431, allocations: 300.7 kB / 0.7487 GB, free: 74.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/1.431, allocations: 16.56 kB / 0.7487 GB, free: 74.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/1.431, allocations: 24 kB / 0.7487 GB, free: 74.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/1.432, allocations: 338.2 kB / 0.749 GB, free: 73.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/1.432, allocations: 0 / 0.749 GB, free: 73.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/1.432, allocations: 12 kB / 0.7491 GB, free: 73.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/1.432, allocations: 8 kB / 0.7491 GB, free: 73.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/1.432, allocations: 201.4 kB / 0.7493 GB, free: 73.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/1.434, allocations: 2.066 MB / 0.7513 GB, free: 71.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/1.434, allocations: 182.5 kB / 0.7515 GB, free: 71.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/1.434, allocations: 255.5 kB / 0.7517 GB, free: 70.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/1.434, allocations: 38.56 kB / 0.7517 GB, free: 70.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/1.434, allocations: 0 / 0.7517 GB, free: 70.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.002388/1.437, allocations: 1.019 MB / 0.7527 GB, free: 69.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/1.437, allocations: 59.41 kB / 0.7528 GB, free: 69.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/1.437, allocations: 237.7 kB / 0.753 GB, free: 69.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/1.437, allocations: 29.7 kB / 0.753 GB, free: 69.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/1.437, allocations: 184.2 kB / 0.7532 GB, free: 69.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.875e-05/1.437, allocations: 98.47 kB / 0.7533 GB, free: 68.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/1.437, allocations: 8 kB / 0.7533 GB, free: 68.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.236e-05/1.437, allocations: 346.8 kB / 0.7536 GB, free: 68.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/1.437, allocations: 80.72 kB / 0.7537 GB, free: 68.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/1.438, allocations: 166.8 kB / 0.7539 GB, free: 68.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/1.438, allocations: 108.6 kB / 0.754 GB, free: 68.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.438, allocations: 0 / 0.754 GB, free: 68.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005631/1.438, allocations: 377.8 kB / 0.7543 GB, free: 67.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.438, allocations: 12.03 kB / 0.7544 GB, free: 67.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.438, allocations: 4 kB / 0.7544 GB, free: 67.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003856/1.439, allocations: 100.7 kB / 0.7545 GB, free: 67.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/1.439, allocations: 59.91 kB / 0.7545 GB, free: 67.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004169/1.439, allocations: 0.6577 MB / 0.7552 GB, free: 67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/1.44, allocations: 24.05 kB / 0.7552 GB, free: 66.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/1.44, allocations: 16 kB / 0.7552 GB, free: 66.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001559/1.44, allocations: 154.2 kB / 0.7553 GB, free: 66.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/1.44, allocations: 39.55 kB / 0.7554 GB, free: 66.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005617/1.44, allocations: 374.4 kB / 0.7557 GB, free: 66.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.44, allocations: 4.094 kB / 0.7557 GB, free: 66.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.44, allocations: 7.891 kB / 0.7557 GB, free: 66.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004746/1.441, allocations: 0.5709 MB / 0.7563 GB, free: 65.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009075/1.442, allocations: 0.7391 MB / 0.757 GB, free: 64.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.442, allocations: 0 / 0.757 GB, free: 64.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/1.442, allocations: 39.92 kB / 0.7571 GB, free: 64.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/1.442, allocations: 96.77 kB / 0.7572 GB, free: 64.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/1.443, allocations: 4.062 kB / 0.7572 GB, free: 64.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003564/1.443, allocations: 0.6382 MB / 0.7578 GB, free: 64.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.443, allocations: 0 / 0.7578 GB, free: 64.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/1.444, allocations: 0.5091 MB / 0.7583 GB, free: 63.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/1.444, allocations: 104.8 kB / 0.7584 GB, free: 63.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/1.444, allocations: 8 kB / 0.7584 GB, free: 63.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/1.444, allocations: 16.05 kB / 0.7584 GB, free: 63.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/1.444, allocations: 15.98 kB / 0.7584 GB, free: 63.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/1.444, allocations: 19.97 kB / 0.7584 GB, free: 63.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001697/1.444, allocations: 198 kB / 0.7586 GB, free: 63.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.444, allocations: 0 / 0.7586 GB, free: 63.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007/1.445, allocations: 155.9 kB / 0.7588 GB, free: 63 MB / 426.7 MB 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001255/1.446, allocations: 1.318 MB / 0.7601 GB, free: 61.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004829/1.447, allocations: 240.3 kB / 0.7603 GB, free: 61.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.447, allocations: 4 kB / 0.7603 GB, free: 61.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000223/1.447, allocations: 115.9 kB / 0.7604 GB, free: 61.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/1.448, allocations: 156.8 kB / 0.7606 GB, free: 61.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/1.45, allocations: 3.331 MB / 0.7638 GB, free: 57.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/1.451, allocations: 0.7727 MB / 0.7646 GB, free: 56.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003329/1.451, allocations: 63.19 kB / 0.7646 GB, free: 56.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/1.451, allocations: 99.39 kB / 0.7647 GB, free: 56.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/1.451, allocations: 0 / 0.7647 GB, free: 56.76 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/1.481, allocations: 10.62 MB / 0.7751 GB, free: 46.13 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/1.482, allocations: 234.8 kB / 0.7753 GB, free: 45.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.217/3.698, allocations: 7.875 kB / 0.7753 GB, free: 45.88 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat