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.002121/0.002121, 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 1.988/1.988, 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.001138/0.001139, allocations: 95.39 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004049, allocations: 8 kB / 327.1 MB, free: 124 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3483, allocations: 47.57 MB / 374.6 MB, free: 45.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5582/0.9065, allocations: 190.7 MB / 0.5521 GB, free: 48.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.9069, allocations: 74.12 kB / 0.5521 GB, free: 48.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.081/0.9879, allocations: 23 MB / 0.5746 GB, free: 28.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.988, allocations: 4 kB / 0.5746 GB, free: 28.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.988, allocations: 4 kB / 0.5746 GB, free: 28.27 MB / 378.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.0006055/0.9886, allocations: 450.6 kB / 0.575 GB, free: 27.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.9887, allocations: 8.031 kB / 0.575 GB, free: 27.78 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.9887, allocations: 42.31 kB / 0.5751 GB, free: 27.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004982/0.9892, allocations: 35.81 kB / 0.5751 GB, free: 27.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.9894, allocations: 197.9 kB / 0.5753 GB, free: 27.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.9895, allocations: 7.875 kB / 0.5753 GB, free: 27.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.9895, allocations: 11.88 kB / 0.5753 GB, free: 27.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.9898, allocations: 132.7 kB / 0.5754 GB, free: 27.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.9898, allocations: 0 / 0.5754 GB, free: 27.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.9899, allocations: 11.44 kB / 0.5754 GB, free: 27.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.9899, allocations: 0 / 0.5754 GB, free: 27.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.9901, allocations: 115.2 kB / 0.5756 GB, free: 27.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.9909, allocations: 0.6202 MB / 0.5762 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.9911, allocations: 85.06 kB / 0.5762 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006026/0.9917, allocations: 0.8068 MB / 0.577 GB, free: 25.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.9917, allocations: 34.5 kB / 0.5771 GB, free: 25.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 3.136e-06/0.9917, allocations: 4 kB / 0.5771 GB, free: 25.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003869/0.9921, allocations: 127.1 kB / 0.5772 GB, free: 25.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.9922, allocations: 51.41 kB / 0.5772 GB, free: 25.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.9923, allocations: 112.5 kB / 0.5773 GB, free: 25.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.9923, allocations: 25.7 kB / 0.5774 GB, free: 25.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.9924, allocations: 174 kB / 0.5775 GB, free: 25.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.9924, allocations: 47.31 kB / 0.5776 GB, free: 25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.9924, allocations: 3.562 kB / 0.5776 GB, free: 25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.302e-05/0.9925, allocations: 318.8 kB / 0.5779 GB, free: 24.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.851e-05/0.9926, allocations: 27.23 kB / 0.5779 GB, free: 24.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.06e-05/0.9927, allocations: 63.56 kB / 0.578 GB, free: 24.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.398e-05/0.9928, allocations: 43.56 kB / 0.578 GB, free: 24.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.9928, allocations: 0 / 0.578 GB, free: 24.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002768/0.9931, allocations: 136.9 kB / 0.5781 GB, free: 24.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.9931, allocations: 11.95 kB / 0.5782 GB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9931, allocations: 0 / 0.5782 GB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.9932, allocations: 4 kB / 0.5782 GB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.9934, allocations: 27.98 kB / 0.5782 GB, free: 24.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.9934, allocations: 0 / 0.5782 GB, free: 24.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.9935, allocations: 19.56 kB / 0.5782 GB, free: 24.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.9936, allocations: 15.98 kB / 0.5782 GB, free: 24.37 MB / 378.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 () * Number of clocked 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 9.371e-05/0.9937, allocations: 116.8 kB / 0.5783 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.9937, allocations: 8.281 kB / 0.5783 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.9941, allocations: 151.7 kB / 0.5785 GB, free: 24.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9942, allocations: 0 / 0.5785 GB, free: 24.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.9942, allocations: 7.938 kB / 0.5785 GB, free: 24.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.9942, allocations: 4 kB / 0.5785 GB, free: 24.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005522/0.9947, allocations: 388.8 kB / 0.5789 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.9948, allocations: 3.953 kB / 0.5789 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.9949, allocations: 23.92 kB / 0.5789 GB, free: 23.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.9949, allocations: 4 kB / 0.5789 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.995, allocations: 3.625 kB / 0.5789 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.995, allocations: 3.938 kB / 0.5789 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.995, allocations: 0 / 0.5789 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.9952, allocations: 209.4 kB / 0.5791 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.9953, allocations: 104.4 kB / 0.5792 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.9953, allocations: 3.875 kB / 0.5792 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.9955, allocations: 4 kB / 0.5792 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.9955, allocations: 7.984 kB / 0.5792 GB, free: 23.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.9956, allocations: 4.688 kB / 0.5792 GB, free: 23.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.508e-05/0.9956, allocations: 96.2 kB / 0.5793 GB, free: 23.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9956, allocations: 4 kB / 0.5793 GB, free: 23.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004733/0.9961, allocations: 62.56 kB / 0.5794 GB, free: 23.2 MB / 378.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 () * Number of clocked 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.0006594/0.9968, allocations: 0.7916 MB / 0.5802 GB, free: 22.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.997, allocations: 82.41 kB / 0.5802 GB, free: 22.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9971, allocations: 0 / 0.5802 GB, free: 22.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.727e-05/0.9972, allocations: 39.17 kB / 0.5803 GB, free: 22.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.9977, allocations: 47.8 kB / 0.5803 GB, free: 22.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.9991, allocations: 1.444 MB / 0.5817 GB, free: 20.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.9993, allocations: 0.6931 MB / 0.5824 GB, free: 20.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.9994, allocations: 34.23 kB / 0.5824 GB, free: 20.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.9994, allocations: 4 kB / 0.5824 GB, free: 20.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.758/3.757, allocations: 2.641 MB / 0.585 GB, free: 17.43 MB / 378.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