Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycol",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.002321/0.002321, 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.459/2.459, 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.001091/0.001091, allocations: 82.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.828e-05/3.858e-05, allocations: 4 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.09942, allocations: 47.57 MB / 369.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8532/0.9527, allocations: 190.6 MB / 0.5466 GB, free: 109.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003962/0.9532, allocations: 71.38 kB / 0.5467 GB, free: 109.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1317/1.085, allocations: 22.93 MB / 0.5691 GB, free: 103.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.187e-06/1.085, allocations: 0 / 0.5691 GB, free: 103.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/1.085, allocations: 7.844 kB / 0.5691 GB, free: 103.1 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007624/1.086, allocations: 437.9 kB / 0.5695 GB, free: 102.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.086, allocations: 11.69 kB / 0.5695 GB, free: 102.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/1.086, allocations: 39.3 kB / 0.5696 GB, free: 102.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005201/1.086, allocations: 43.28 kB / 0.5696 GB, free: 102.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/1.087, allocations: 190.2 kB / 0.5698 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/1.087, allocations: 7.531 kB / 0.5698 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/1.087, allocations: 11.44 kB / 0.5698 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/1.087, allocations: 129.6 kB / 0.5699 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/1.087, allocations: 0 / 0.5699 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/1.087, allocations: 7.531 kB / 0.5699 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/1.087, allocations: 4 kB / 0.57 GB, free: 102.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/1.087, allocations: 114.6 kB / 0.5701 GB, free: 102.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/1.088, allocations: 0.622 MB / 0.5707 GB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/1.088, allocations: 87.2 kB / 0.5708 GB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.23e-05/1.088, allocations: 38.98 kB / 0.5708 GB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006162/1.089, allocations: 0.8061 MB / 0.5716 GB, free: 100.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/1.089, allocations: 38.48 kB / 0.5716 GB, free: 100.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.063e-06/1.089, allocations: 0 / 0.5716 GB, free: 100.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003077/1.089, allocations: 95.69 kB / 0.5717 GB, free: 100.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/1.089, allocations: 59.2 kB / 0.5718 GB, free: 100.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.522e-05/1.09, allocations: 112.5 kB / 0.5719 GB, free: 100.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/1.09, allocations: 29.64 kB / 0.5719 GB, free: 100.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/1.09, allocations: 170.3 kB / 0.5721 GB, free: 100.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/1.09, allocations: 46.45 kB / 0.5721 GB, free: 100.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/1.09, allocations: 3.906 kB / 0.5721 GB, free: 100.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/1.09, allocations: 314.7 kB / 0.5724 GB, free: 99.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.967e-05/1.09, allocations: 27.02 kB / 0.5724 GB, free: 99.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.771e-05/1.09, allocations: 67.66 kB / 0.5725 GB, free: 99.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.796e-05/1.09, allocations: 47.27 kB / 0.5725 GB, free: 99.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/1.09, allocations: 3.984 kB / 0.5725 GB, free: 99.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003061/1.09, allocations: 131.4 kB / 0.5727 GB, free: 99.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.09, allocations: 7.812 kB / 0.5727 GB, free: 99.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.09, allocations: 0 / 0.5727 GB, free: 99.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.091, allocations: 3.906 kB / 0.5727 GB, free: 99.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/1.091, allocations: 31.31 kB / 0.5727 GB, free: 99.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/1.091, allocations: 7.922 kB / 0.5727 GB, free: 99.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/1.091, allocations: 15.53 kB / 0.5727 GB, free: 99.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/1.091, allocations: 7.906 kB / 0.5727 GB, free: 99.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.651e-05/1.091, allocations: 116.3 kB / 0.5729 GB, free: 99.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/1.091, allocations: 15.67 kB / 0.5729 GB, free: 99.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004142/1.091, allocations: 132.4 kB / 0.573 GB, free: 99.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.091, allocations: 0 / 0.573 GB, free: 99.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.092, allocations: 0 / 0.573 GB, free: 99.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/1.092, allocations: 3.984 kB / 0.573 GB, free: 99.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005314/1.092, allocations: 395.3 kB / 0.5734 GB, free: 99.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.092, allocations: 3.906 kB / 0.5734 GB, free: 99.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/1.092, allocations: 23.45 kB / 0.5734 GB, free: 99.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.092, allocations: 0 / 0.5734 GB, free: 99.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/1.092, allocations: 11.86 kB / 0.5734 GB, free: 99.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.092, allocations: 3.938 kB / 0.5734 GB, free: 99.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.092, allocations: 0 / 0.5734 GB, free: 99.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/1.093, allocations: 198 kB / 0.5736 GB, free: 99.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/1.093, allocations: 112.4 kB / 0.5737 GB, free: 98.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/1.093, allocations: 7.938 kB / 0.5737 GB, free: 98.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/1.093, allocations: 3.938 kB / 0.5737 GB, free: 98.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/1.093, allocations: 7.797 kB / 0.5737 GB, free: 98.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/1.093, allocations: 7.812 kB / 0.5737 GB, free: 98.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.09e-05/1.093, allocations: 94.95 kB / 0.5738 GB, free: 98.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.093, allocations: 0 / 0.5738 GB, free: 98.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004668/1.093, allocations: 62.47 kB / 0.5739 GB, free: 98.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006363/1.094, allocations: 0.7948 MB / 0.5747 GB, free: 98.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002488/1.094, allocations: 82.23 kB / 0.5747 GB, free: 98.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.094, allocations: 0 / 0.5747 GB, free: 98.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/1.094, allocations: 38.75 kB / 0.5748 GB, free: 98.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/1.095, allocations: 46.97 kB / 0.5748 GB, free: 98.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/1.096, allocations: 190.7 kB / 0.575 GB, free: 97.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/1.096, allocations: 0.6966 MB / 0.5757 GB, free: 97.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/1.096, allocations: 37.95 kB / 0.5757 GB, free: 97.25 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/1.096, allocations: 0 / 0.5757 GB, free: 97.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.413/3.508, allocations: 2.638 MB / 0.5783 GB, free: 95.9 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat