Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",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.001196/0.001196, allocations: 181.7 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.438/1.438, allocations: 205.4 MB / 223.1 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.000856/0.0008562, allocations: 96.09 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002801/0.0002801, allocations: 8 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2384, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4143/0.6528, allocations: 190.1 MB / 0.5527 GB, free: 48.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.6531, allocations: 83.12 kB / 0.5528 GB, free: 48.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07952/0.7327, allocations: 37.01 MB / 0.589 GB, free: 17.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.7327, allocations: 0 / 0.589 GB, free: 17.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.7327, allocations: 0 / 0.589 GB, free: 17.2 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006704/0.7334, allocations: 0.5083 MB / 0.5895 GB, free: 16.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.7335, allocations: 8.031 kB / 0.5895 GB, free: 16.64 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.7335, allocations: 30.56 kB / 0.5895 GB, free: 16.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.7336, allocations: 8 kB / 0.5895 GB, free: 16.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.7337, allocations: 190.8 kB / 0.5897 GB, free: 16.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.7337, allocations: 3.688 kB / 0.5897 GB, free: 16.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.7338, allocations: 7.906 kB / 0.5897 GB, free: 16.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.7339, allocations: 54.95 kB / 0.5898 GB, free: 16.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.7339, allocations: 0 / 0.5898 GB, free: 16.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.7339, allocations: 7.938 kB / 0.5898 GB, free: 16.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.7339, allocations: 0 / 0.5898 GB, free: 16.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.529e-05/0.734, allocations: 31.89 kB / 0.5898 GB, free: 16.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.7342, allocations: 165.8 kB / 0.59 GB, free: 16.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.7344, allocations: 80.03 kB / 0.59 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008011/0.7352, allocations: 1.912 MB / 0.5919 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.7352, allocations: 34.19 kB / 0.5919 GB, free: 13.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.7353, allocations: 0 / 0.5919 GB, free: 13.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002471/0.7355, allocations: 80.72 kB / 0.592 GB, free: 13.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.7355, allocations: 77.11 kB / 0.5921 GB, free: 13.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.565e-05/0.7356, allocations: 101 kB / 0.5922 GB, free: 13.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.7356, allocations: 25.7 kB / 0.5922 GB, free: 13.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.7357, allocations: 91.64 kB / 0.5923 GB, free: 13.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.7357, allocations: 23.14 kB / 0.5923 GB, free: 13.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.7357, allocations: 4 kB / 0.5923 GB, free: 13.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.7358, allocations: 314.5 kB / 0.5926 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-05/0.7359, allocations: 11.98 kB / 0.5926 GB, free: 12.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.998e-05/0.7359, allocations: 39.05 kB / 0.5927 GB, free: 12.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.567e-05/0.736, allocations: 23.62 kB / 0.5927 GB, free: 12.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.736, allocations: 0 / 0.5927 GB, free: 12.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001513/0.7361, allocations: 91.95 kB / 0.5928 GB, free: 12.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.7362, allocations: 4 kB / 0.5928 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.7362, allocations: 0 / 0.5928 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.7362, allocations: 4 kB / 0.5928 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.7363, allocations: 15.98 kB / 0.5928 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.7363, allocations: 12 kB / 0.5928 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.282e-05/0.7363, allocations: 7.5 kB / 0.5928 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.7364, allocations: 4 kB / 0.5928 GB, free: 12.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.024e-05/0.7365, allocations: 105.8 kB / 0.5929 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.7365, allocations: 15.42 kB / 0.5929 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.7368, allocations: 124.1 kB / 0.5931 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.7368, allocations: 4.562 kB / 0.5931 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7368, allocations: 0 / 0.5931 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.7368, allocations: 0 / 0.5931 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.7369, allocations: 180 kB / 0.5932 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.737, allocations: 0 / 0.5932 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/0.737, allocations: 15.94 kB / 0.5932 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.737, allocations: 0 / 0.5932 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.7371, allocations: 11.92 kB / 0.5933 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7371, allocations: 0 / 0.5933 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7371, allocations: 8 kB / 0.5933 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.7373, allocations: 145.3 kB / 0.5934 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.7374, allocations: 96.58 kB / 0.5935 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.7374, allocations: 7.828 kB / 0.5935 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.749e-05/0.7375, allocations: 4 kB / 0.5935 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.7375, allocations: 12.05 kB / 0.5935 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.7375, allocations: 0 / 0.5935 GB, free: 11.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.411e-05/0.7376, allocations: 90.53 kB / 0.5936 GB, free: 11.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7376, allocations: 0 / 0.5936 GB, free: 11.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006125/0.7382, allocations: 190.7 kB / 0.5938 GB, free: 11.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001048/0.7392, allocations: 1.039 MB / 0.5948 GB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.7394, allocations: 47.47 kB / 0.5948 GB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7394, allocations: 0 / 0.5948 GB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.716e-05/0.7395, allocations: 35.98 kB / 0.5949 GB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.7396, allocations: 11.67 kB / 0.5949 GB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009319/0.7406, allocations: 1.216 MB / 0.5961 GB, free: 9.285 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.7407, allocations: 0.6927 MB / 0.5968 GB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.08e-05/0.7408, allocations: 31.95 kB / 0.5968 GB, free: 8.535 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.7408, allocations: 19 kB / 0.5968 GB, free: 8.523 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.7408, allocations: 0 / 0.5968 GB, free: 8.523 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.7564, allocations: 4.779 MB / 0.6015 GB, free: 3.766 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/0.7566, allocations: 244.8 kB / 0.6017 GB, free: 3.438 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.566, allocations: 0 / 0.6017 GB, free: 3.438 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat