Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 221.5 MB / 230.3 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009919/0.0009919, allocations: 96.2 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.909e-05/2.911e-05, allocations: 4 kB / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1418, allocations: 50.42 MB / 387.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9523/1.094, allocations: 185.9 MB / 0.56 GB, free: 149.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003883/1.095, allocations: 74.3 kB / 0.5601 GB, free: 149.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07629/1.171, allocations: 27.21 MB / 0.5866 GB, free: 130.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.103e-06/1.171, allocations: 0 / 0.5866 GB, free: 130.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.186e-06/1.171, allocations: 0 / 0.5866 GB, free: 130.4 MB / 426.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.0007332/1.172, allocations: 475.7 kB / 0.5871 GB, free: 129.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/1.172, allocations: 8.031 kB / 0.5871 GB, free: 129.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/1.172, allocations: 11.98 kB / 0.5871 GB, free: 129.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/1.172, allocations: 186.9 kB / 0.5873 GB, free: 129.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/1.172, allocations: 0 / 0.5873 GB, free: 129.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/1.172, allocations: 4 kB / 0.5873 GB, free: 129.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.61e-05/1.172, allocations: 19.98 kB / 0.5873 GB, free: 129.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.663e-05/1.172, allocations: 59.3 kB / 0.5874 GB, free: 129.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.172, allocations: 0 / 0.5874 GB, free: 129.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/1.172, allocations: 0 / 0.5874 GB, free: 129.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.172, allocations: 3.984 kB / 0.5874 GB, free: 129.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/1.172, allocations: 143.2 kB / 0.5875 GB, free: 129.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/1.173, allocations: 77.14 kB / 0.5876 GB, free: 129.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/1.173, allocations: 17.95 kB / 0.5876 GB, free: 129.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/1.174, allocations: 2.197 MB / 0.5897 GB, free: 126.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/1.174, allocations: 30.56 kB / 0.5898 GB, free: 126.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.955e-06/1.174, allocations: 4 kB / 0.5898 GB, free: 126.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006373/1.175, allocations: 113.5 kB / 0.5899 GB, free: 126.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/1.175, allocations: 85.06 kB / 0.59 GB, free: 126.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/1.175, allocations: 97 kB / 0.59 GB, free: 126.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/1.175, allocations: 29.64 kB / 0.5901 GB, free: 126.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/1.175, allocations: 92.06 kB / 0.5902 GB, free: 126.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/1.175, allocations: 23.66 kB / 0.5902 GB, free: 126.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/1.175, allocations: 0 / 0.5902 GB, free: 126.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.69e-05/1.175, allocations: 318.8 kB / 0.5905 GB, free: 125.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/1.175, allocations: 12 kB / 0.5905 GB, free: 125.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/1.175, allocations: 31.44 kB / 0.5905 GB, free: 125.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/1.175, allocations: 63.92 kB / 0.5906 GB, free: 125.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.175, allocations: 0 / 0.5906 GB, free: 125.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00041/1.176, allocations: 117.5 kB / 0.5907 GB, free: 125.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.176, allocations: 12.06 kB / 0.5907 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.176, allocations: 0 / 0.5907 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.176, allocations: 0 / 0.5907 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/1.176, allocations: 19.92 kB / 0.5907 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.176, allocations: 4 kB / 0.5907 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/1.176, allocations: 3.953 kB / 0.5907 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/1.176, allocations: 4 kB / 0.5907 GB, free: 125.5 MB / 426.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 () * 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 5.403e-05/1.176, allocations: 101 kB / 0.5908 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004099/1.176, allocations: 117.5 kB / 0.591 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/1.176, allocations: 11.91 kB / 0.591 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005548/1.177, allocations: 161.8 kB / 0.5911 GB, free: 125.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.177, allocations: 4 kB / 0.5911 GB, free: 125.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.177, allocations: 3.953 kB / 0.5911 GB, free: 125.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.177, allocations: 0 / 0.5911 GB, free: 125.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.728e-05/1.177, allocations: 142.6 kB / 0.5913 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.177, allocations: 4 kB / 0.5913 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.336e-05/1.177, allocations: 12 kB / 0.5913 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.177, allocations: 3.938 kB / 0.5913 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/1.177, allocations: 11.98 kB / 0.5913 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.177, allocations: 0 / 0.5913 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.177, allocations: 0 / 0.5913 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/1.178, allocations: 195.5 kB / 0.5915 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/1.178, allocations: 101.1 kB / 0.5916 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/1.178, allocations: 0 / 0.5916 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.117e-05/1.178, allocations: 4 kB / 0.5916 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/1.178, allocations: 7.938 kB / 0.5916 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/1.178, allocations: 4 kB / 0.5916 GB, free: 124.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.315e-05/1.178, allocations: 91.22 kB / 0.5917 GB, free: 124.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.178, allocations: 0 / 0.5917 GB, free: 124.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004526/1.178, allocations: 139.8 kB / 0.5918 GB, free: 124.3 MB / 426.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 () * 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.001329/1.18, allocations: 0.9765 MB / 0.5928 GB, free: 123.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/1.18, allocations: 35.98 kB / 0.5928 GB, free: 123.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.18, allocations: 128 / 0.5928 GB, free: 123.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.318e-05/1.18, allocations: 31.94 kB / 0.5928 GB, free: 123.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/1.18, allocations: 15.92 kB / 0.5928 GB, free: 123.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006474/1.181, allocations: 322.7 kB / 0.5932 GB, free: 122.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/1.181, allocations: 0.6885 MB / 0.5938 GB, free: 122.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.683e-05/1.181, allocations: 35.78 kB / 0.5939 GB, free: 122.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/1.181, allocations: 23.42 kB / 0.5939 GB, free: 122.1 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/1.181, allocations: 4 kB / 0.5939 GB, free: 122.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/1.204, allocations: 3.548 MB / 0.5974 GB, free: 118.5 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/1.205, allocations: 206.6 kB / 0.5976 GB, free: 118.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.867, allocations: 0 / 0.5976 GB, free: 118.2 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat