Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_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.001191/0.001191, allocations: 181.4 kB / 17.01 MB, free: 5.121 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.555/1.555, 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.001145/0.001145, allocations: 91.3 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002736/0.0002736, allocations: 8 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.274, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4764/0.7504, allocations: 190.7 MB / 0.5533 GB, free: 48.26 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.7507, allocations: 76.58 kB / 0.5534 GB, free: 48.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05131/0.802, allocations: 23.01 MB / 0.5758 GB, free: 28.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.8021, allocations: 0 / 0.5758 GB, free: 28.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.8021, allocations: 0 / 0.5758 GB, free: 28.38 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.000697/0.8028, allocations: 450.4 kB / 0.5763 GB, free: 27.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.8029, allocations: 12.03 kB / 0.5763 GB, free: 27.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/0.8029, allocations: 49.3 kB / 0.5763 GB, free: 27.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.8034, allocations: 27.52 kB / 0.5764 GB, free: 27.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.8036, allocations: 198.6 kB / 0.5765 GB, free: 27.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.8036, allocations: 0 / 0.5765 GB, free: 27.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.8036, allocations: 11.69 kB / 0.5766 GB, free: 27.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.8039, allocations: 134 kB / 0.5767 GB, free: 27.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.8039, allocations: 4 kB / 0.5767 GB, free: 27.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.804, allocations: 4 kB / 0.5767 GB, free: 27.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.804, allocations: 4 kB / 0.5767 GB, free: 27.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.8041, allocations: 111.8 kB / 0.5768 GB, free: 27.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006389/0.8048, allocations: 0.6213 MB / 0.5774 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.8049, allocations: 88.31 kB / 0.5775 GB, free: 26.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005337/0.8055, allocations: 0.807 MB / 0.5783 GB, free: 25.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.8055, allocations: 34.5 kB / 0.5783 GB, free: 25.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.943e-06/0.8055, allocations: 0 / 0.5783 GB, free: 25.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003218/0.8059, allocations: 122.9 kB / 0.5784 GB, free: 25.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.8059, allocations: 55.41 kB / 0.5785 GB, free: 25.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.344e-05/0.806, allocations: 115.9 kB / 0.5786 GB, free: 25.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.806, allocations: 33.7 kB / 0.5786 GB, free: 25.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.8061, allocations: 95.67 kB / 0.5787 GB, free: 25.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.8061, allocations: 50.38 kB / 0.5788 GB, free: 25.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.8061, allocations: 3.625 kB / 0.5788 GB, free: 25.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.8062, allocations: 318.8 kB / 0.5791 GB, free: 24.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.365e-05/0.8063, allocations: 22.86 kB / 0.5791 GB, free: 24.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.8064, allocations: 67.95 kB / 0.5792 GB, free: 24.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.205e-05/0.8064, allocations: 45.42 kB / 0.5792 GB, free: 24.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8064, allocations: 4 kB / 0.5792 GB, free: 24.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001871/0.8066, allocations: 131 kB / 0.5793 GB, free: 24.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.8067, allocations: 17.03 kB / 0.5793 GB, free: 24.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.8067, allocations: 0 / 0.5793 GB, free: 24.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.8067, allocations: 4 kB / 0.5793 GB, free: 24.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.8068, allocations: 27.98 kB / 0.5794 GB, free: 24.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.8068, allocations: 4 kB / 0.5794 GB, free: 24.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.365e-05/0.8069, allocations: 15.66 kB / 0.5794 GB, free: 24.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.807, allocations: 11.94 kB / 0.5794 GB, free: 24.54 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 8.318e-05/0.807, allocations: 120.4 kB / 0.5795 GB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.8071, allocations: 7.906 kB / 0.5795 GB, free: 24.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.8074, allocations: 150.8 kB / 0.5797 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.8074, allocations: 4 kB / 0.5797 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.8074, allocations: 0 / 0.5797 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.8074, allocations: 0 / 0.5797 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.8078, allocations: 384.9 kB / 0.58 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.8078, allocations: 7.953 kB / 0.5801 GB, free: 23.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.586e-05/0.8079, allocations: 31.42 kB / 0.5801 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.8079, allocations: 0 / 0.5801 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.8079, allocations: 4 kB / 0.5801 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.8079, allocations: 7.938 kB / 0.5801 GB, free: 23.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.808, allocations: 0 / 0.5801 GB, free: 23.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.8081, allocations: 195.7 kB / 0.5803 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.8082, allocations: 112 kB / 0.5804 GB, free: 23.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.8082, allocations: 4 kB / 0.5804 GB, free: 23.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.185e-05/0.8083, allocations: 3.812 kB / 0.5804 GB, free: 23.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.8084, allocations: 11.92 kB / 0.5804 GB, free: 23.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.8084, allocations: 8 kB / 0.5804 GB, free: 23.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.899e-05/0.8084, allocations: 95.14 kB / 0.5805 GB, free: 23.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.8084, allocations: 0 / 0.5805 GB, free: 23.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003945/0.8088, allocations: 66.58 kB / 0.5806 GB, free: 23.37 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.0005345/0.8094, allocations: 0.7831 MB / 0.5813 GB, free: 22.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.8096, allocations: 93.39 kB / 0.5814 GB, free: 22.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8096, allocations: 0 / 0.5814 GB, free: 22.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.515e-05/0.8096, allocations: 39.36 kB / 0.5815 GB, free: 22.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.81, allocations: 39.09 kB / 0.5815 GB, free: 22.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.8111, allocations: 1.42 MB / 0.5829 GB, free: 21.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.8113, allocations: 0.697 MB / 0.5836 GB, free: 20.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000172/0.8115, allocations: 37.23 kB / 0.5836 GB, free: 20.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-05/0.8116, allocations: 27.98 kB / 0.5836 GB, free: 20.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.8116, allocations: 0 / 0.5836 GB, free: 20.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.8274, allocations: 3.398 MB / 0.5869 GB, free: 16.86 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.8276, allocations: 184.2 kB / 0.5871 GB, free: 16.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.557, allocations: 0 / 0.5871 GB, free: 16.61 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat