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.002149/0.002149, allocations: 181.5 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.192/2.192, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 79.88 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.989e-05/2e-05, allocations: 4 kB / 314.9 MB, free: 9.059 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3525, allocations: 47.56 MB / 362.4 MB, free: 45.76 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5788/0.9314, allocations: 189.9 MB / 0.5394 GB, free: 87.01 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.9317, allocations: 74.92 kB / 0.5395 GB, free: 87 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0822/1.014, allocations: 22.78 MB / 0.5617 GB, free: 70.79 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.525e-06/1.014, allocations: 0 / 0.5617 GB, free: 70.79 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/1.014, allocations: 7.5 kB / 0.5617 GB, free: 70.79 MB / 395.1 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.000601/1.015, allocations: 439.3 kB / 0.5621 GB, free: 70.32 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.015, allocations: 8.031 kB / 0.5621 GB, free: 70.32 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004986/1.015, allocations: 35.62 kB / 0.5622 GB, free: 70.29 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/1.015, allocations: 201.7 kB / 0.5624 GB, free: 70.05 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/1.015, allocations: 4 kB / 0.5624 GB, free: 70.05 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/1.015, allocations: 8 kB / 0.5624 GB, free: 70.04 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002402/1.016, allocations: 99.69 kB / 0.5625 GB, free: 69.97 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/1.016, allocations: 114.3 kB / 0.5626 GB, free: 69.86 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.016, allocations: 0 / 0.5626 GB, free: 69.86 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/1.016, allocations: 0 / 0.5626 GB, free: 69.86 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.016, allocations: 7.953 kB / 0.5626 GB, free: 69.85 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006977/1.017, allocations: 0.5886 MB / 0.5632 GB, free: 69.27 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/1.017, allocations: 76.75 kB / 0.5632 GB, free: 69.2 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/1.017, allocations: 28.36 kB / 0.5633 GB, free: 69.18 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006042/1.018, allocations: 0.8107 MB / 0.5641 GB, free: 68.19 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/1.018, allocations: 49.56 kB / 0.5641 GB, free: 68.14 MB / 395.1 MB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/1.018, allocations: 3.938 kB / 0.5641 GB, free: 68.13 MB / 395.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008368/1.019, allocations: 123.1 kB / 0.5642 GB, free: 68.02 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/1.019, allocations: 59.2 kB / 0.5643 GB, free: 67.95 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/1.019, allocations: 100.1 kB / 0.5644 GB, free: 67.85 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/1.019, allocations: 25.7 kB / 0.5644 GB, free: 67.82 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/1.019, allocations: 174 kB / 0.5646 GB, free: 67.65 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/1.019, allocations: 54.42 kB / 0.5646 GB, free: 67.6 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/1.019, allocations: 0 / 0.5646 GB, free: 67.6 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 6.222e-05/1.019, allocations: 310.8 kB / 0.5649 GB, free: 67.29 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/1.019, allocations: 27.23 kB / 0.565 GB, free: 67.27 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-05/1.019, allocations: 55.91 kB / 0.565 GB, free: 67.21 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/1.02, allocations: 74.88 kB / 0.5651 GB, free: 67.14 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.77e-06/1.02, allocations: 3.984 kB / 0.5651 GB, free: 67.14 MB / 395.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007352/1.02, allocations: 158.9 kB / 0.5652 GB, free: 67 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.02, allocations: 6.5 kB / 0.5652 GB, free: 66.99 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.02, allocations: 4 kB / 0.5652 GB, free: 66.99 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.02, allocations: 4.109 kB / 0.5652 GB, free: 66.98 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/1.021, allocations: 39.92 kB / 0.5653 GB, free: 66.95 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/1.021, allocations: 3.984 kB / 0.5653 GB, free: 66.94 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/1.021, allocations: 7.938 kB / 0.5653 GB, free: 66.93 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/1.021, allocations: 8 kB / 0.5653 GB, free: 66.93 MB / 395.1 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.465e-05/1.021, allocations: 104.9 kB / 0.5654 GB, free: 66.82 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006941/1.022, allocations: 133.6 kB / 0.5655 GB, free: 66.7 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/1.022, allocations: 15.67 kB / 0.5655 GB, free: 66.68 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008144/1.023, allocations: 169.5 kB / 0.5657 GB, free: 66.54 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.023, allocations: 4 kB / 0.5657 GB, free: 66.54 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.023, allocations: 0 / 0.5657 GB, free: 66.54 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.023, allocations: 0 / 0.5657 GB, free: 66.54 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000964/1.024, allocations: 395.3 kB / 0.5661 GB, free: 66.14 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.024, allocations: 7.953 kB / 0.5661 GB, free: 66.13 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/1.024, allocations: 23.92 kB / 0.5661 GB, free: 66.11 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/1.024, allocations: 4 kB / 0.5661 GB, free: 66.11 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/1.024, allocations: 4 kB / 0.5661 GB, free: 66.1 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/1.024, allocations: 3.938 kB / 0.5661 GB, free: 66.1 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.024, allocations: 0 / 0.5661 GB, free: 66.1 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/1.024, allocations: 221.5 kB / 0.5663 GB, free: 65.88 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/1.025, allocations: 100.6 kB / 0.5664 GB, free: 65.77 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/1.025, allocations: 0 / 0.5664 GB, free: 65.77 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/1.025, allocations: 8 kB / 0.5664 GB, free: 65.76 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/1.025, allocations: 11.55 kB / 0.5665 GB, free: 65.75 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/1.025, allocations: 4 kB / 0.5665 GB, free: 65.75 MB / 395.1 MB Notification: Performance of sorting global known variables: time 5.4e-05/1.025, allocations: 86.84 kB / 0.5665 GB, free: 65.67 MB / 395.1 MB Notification: Performance of sort global known variables: time 4e-07/1.025, allocations: 3.938 kB / 0.5665 GB, free: 65.66 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0005154/1.025, allocations: 59.42 kB / 0.5666 GB, free: 65.61 MB / 395.1 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.001104/1.027, allocations: 0.8199 MB / 0.5674 GB, free: 64.78 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/1.027, allocations: 73.92 kB / 0.5675 GB, free: 64.72 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.027, allocations: 4.312 kB / 0.5675 GB, free: 64.71 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.519e-05/1.027, allocations: 31.12 kB / 0.5675 GB, free: 64.69 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/1.027, allocations: 35.52 kB / 0.5675 GB, free: 64.66 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/1.028, allocations: 186.8 kB / 0.5677 GB, free: 64.45 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/1.028, allocations: 0.7006 MB / 0.5684 GB, free: 63.72 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/1.028, allocations: 30.38 kB / 0.5684 GB, free: 63.7 MB / 395.1 MB Notification: Performance of SimCode: time 1.803e-06/1.028, allocations: 0 / 0.5684 GB, free: 63.7 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.573/3.602, allocations: 2.65 MB / 0.571 GB, free: 61.07 MB / 395.1 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