Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00154/0.001539, allocations: 186.2 kB / 16.41 MB, free: 5.723 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.968/1.968, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001179/0.001179, allocations: 92.41 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005162/0.0005163, allocations: 8 kB / 327.1 MB, free: 136 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3353, allocations: 47.57 MB / 374.6 MB, free: 45.31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5567/0.892, allocations: 190.1 MB / 0.5515 GB, free: 48.76 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.8924, allocations: 82.75 kB / 0.5516 GB, free: 48.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1434/1.036, allocations: 37.01 MB / 0.5877 GB, free: 17.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.036, allocations: 0 / 0.5877 GB, free: 17.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/1.036, allocations: 0 / 0.5877 GB, free: 17.16 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.0008716/1.037, allocations: 0.5052 MB / 0.5882 GB, free: 16.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.037, allocations: 8.031 kB / 0.5882 GB, free: 16.61 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.272e-05/1.037, allocations: 34.56 kB / 0.5883 GB, free: 16.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/1.037, allocations: 0 / 0.5883 GB, free: 16.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/1.037, allocations: 194.6 kB / 0.5884 GB, free: 16.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/1.037, allocations: 4 kB / 0.5884 GB, free: 16.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/1.037, allocations: 7.906 kB / 0.5885 GB, free: 16.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/1.037, allocations: 62.27 kB / 0.5885 GB, free: 16.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/1.037, allocations: 0 / 0.5885 GB, free: 16.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/1.037, allocations: 0 / 0.5885 GB, free: 16.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.037, allocations: 0 / 0.5885 GB, free: 16.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/1.037, allocations: 27.66 kB / 0.5885 GB, free: 16.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/1.038, allocations: 178.2 kB / 0.5887 GB, free: 16.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/1.038, allocations: 84.48 kB / 0.5888 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/1.039, allocations: 1.889 MB / 0.5906 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/1.039, allocations: 45.98 kB / 0.5907 GB, free: 13.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/1.039, allocations: 4 kB / 0.5907 GB, free: 13.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003902/1.04, allocations: 81.16 kB / 0.5908 GB, free: 13.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/1.04, allocations: 77.11 kB / 0.5908 GB, free: 13.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.616e-05/1.04, allocations: 108.8 kB / 0.5909 GB, free: 13.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/1.04, allocations: 25.7 kB / 0.591 GB, free: 13.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/1.04, allocations: 154.5 kB / 0.5911 GB, free: 13.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/1.04, allocations: 23.64 kB / 0.5911 GB, free: 13.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/1.04, allocations: 3.875 kB / 0.5911 GB, free: 13.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.027e-05/1.04, allocations: 318.8 kB / 0.5914 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/1.04, allocations: 11.88 kB / 0.5915 GB, free: 12.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.483e-05/1.04, allocations: 39.3 kB / 0.5915 GB, free: 12.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.634e-05/1.04, allocations: 19.73 kB / 0.5915 GB, free: 12.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.04, allocations: 4 kB / 0.5915 GB, free: 12.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002581/1.041, allocations: 84.34 kB / 0.5916 GB, free: 12.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.041, allocations: 4.938 kB / 0.5916 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.041, allocations: 0 / 0.5916 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.041, allocations: 4 kB / 0.5916 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/1.041, allocations: 15.98 kB / 0.5916 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.041, allocations: 3.938 kB / 0.5916 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-05/1.041, allocations: 11.06 kB / 0.5916 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/1.041, allocations: 7.984 kB / 0.5916 GB, free: 12.58 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 6.794e-05/1.041, allocations: 113.5 kB / 0.5917 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/1.041, allocations: 7.953 kB / 0.5918 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/1.041, allocations: 119.5 kB / 0.5919 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/1.041, allocations: 4 kB / 0.5919 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/1.041, allocations: 0 / 0.5919 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.041, allocations: 4 kB / 0.5919 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/1.042, allocations: 173.3 kB / 0.592 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.042, allocations: 0 / 0.592 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/1.042, allocations: 19.92 kB / 0.5921 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/1.042, allocations: 4.031 kB / 0.5921 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/1.042, allocations: 3.953 kB / 0.5921 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.042, allocations: 4 kB / 0.5921 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.042, allocations: 0 / 0.5921 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/1.042, allocations: 153.7 kB / 0.5922 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/1.042, allocations: 98.47 kB / 0.5923 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/1.042, allocations: 7.953 kB / 0.5923 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.421e-05/1.042, allocations: 0 / 0.5923 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/1.043, allocations: 15.61 kB / 0.5923 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/1.043, allocations: 3.938 kB / 0.5923 GB, free: 11.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.706e-05/1.043, allocations: 95.14 kB / 0.5924 GB, free: 11.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.043, allocations: 0 / 0.5924 GB, free: 11.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000797/1.043, allocations: 194.2 kB / 0.5926 GB, free: 11.54 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.001475/1.045, allocations: 1.023 MB / 0.5936 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002617/1.045, allocations: 51.45 kB / 0.5937 GB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.045, allocations: 4 kB / 0.5937 GB, free: 10.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/1.045, allocations: 27.11 kB / 0.5937 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/1.046, allocations: 7.562 kB / 0.5937 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/1.047, allocations: 1.255 MB / 0.5949 GB, free: 9.156 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/1.047, allocations: 0.6926 MB / 0.5956 GB, free: 8.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.586e-05/1.047, allocations: 22.92 kB / 0.5956 GB, free: 8.422 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/1.047, allocations: 0 / 0.5956 GB, free: 8.422 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.659/3.706, allocations: 4.067 MB / 0.5996 GB, free: 4.359 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)