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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 175.2 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.3 MB / 235.5 MB, free: 2.961 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.0009476/0.000948, allocations: 90.05 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.05e-05, allocations: 0 / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.138, allocations: 50.41 MB / 394.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.927/1.065, allocations: 186.5 MB / 0.5672 GB, free: 144.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004317/1.066, allocations: 75.02 kB / 0.5672 GB, free: 144.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06221/1.128, allocations: 27.38 MB / 0.594 GB, free: 119.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.128, allocations: 0 / 0.594 GB, free: 119.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/1.128, allocations: 0 / 0.594 GB, free: 119.1 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.000655/1.129, allocations: 473.9 kB / 0.5944 GB, free: 118.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/1.129, allocations: 8.031 kB / 0.5944 GB, free: 118.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/1.129, allocations: 8 kB / 0.5944 GB, free: 118.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/1.129, allocations: 186.9 kB / 0.5946 GB, free: 118.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/1.129, allocations: 4 kB / 0.5946 GB, free: 118.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/1.129, allocations: 4 kB / 0.5946 GB, free: 118.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/1.129, allocations: 59.34 kB / 0.5947 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.129, allocations: 3.953 kB / 0.5947 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/1.129, allocations: 0 / 0.5947 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.129, allocations: 0 / 0.5947 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.948e-05/1.129, allocations: 23.98 kB / 0.5947 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/1.129, allocations: 166.5 kB / 0.5949 GB, free: 118 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/1.13, allocations: 73.31 kB / 0.5949 GB, free: 117.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/1.13, allocations: 21.78 kB / 0.595 GB, free: 117.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009947/1.131, allocations: 2.197 MB / 0.5971 GB, free: 115.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/1.131, allocations: 38.48 kB / 0.5971 GB, free: 115.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/1.131, allocations: 0 / 0.5971 GB, free: 115.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.00018/1.131, allocations: 61.55 kB / 0.5972 GB, free: 115.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/1.131, allocations: 77.11 kB / 0.5973 GB, free: 115 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.352e-05/1.131, allocations: 113.5 kB / 0.5974 GB, free: 114.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/1.131, allocations: 25.7 kB / 0.5974 GB, free: 114.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.156e-05/1.131, allocations: 88.08 kB / 0.5975 GB, free: 114.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/1.131, allocations: 27.64 kB / 0.5975 GB, free: 114.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/1.131, allocations: 0 / 0.5975 GB, free: 114.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.223e-05/1.131, allocations: 318.8 kB / 0.5978 GB, free: 114.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/1.131, allocations: 8 kB / 0.5978 GB, free: 114.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/1.131, allocations: 43.72 kB / 0.5979 GB, free: 114.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/1.131, allocations: 16.03 kB / 0.5979 GB, free: 114.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.131, allocations: 0 / 0.5979 GB, free: 114.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001024/1.131, allocations: 81.53 kB / 0.598 GB, free: 114.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.131, allocations: 9.562 kB / 0.598 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/1.131, allocations: 0 / 0.598 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/1.131, allocations: 0 / 0.598 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/1.132, allocations: 15.98 kB / 0.598 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.132, allocations: 7.953 kB / 0.598 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.263e-05/1.132, allocations: 4.062 kB / 0.598 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/1.132, allocations: 8 kB / 0.598 GB, free: 114.2 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.121e-05/1.132, allocations: 105 kB / 0.5981 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/1.132, allocations: 7.891 kB / 0.5981 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/1.132, allocations: 116.4 kB / 0.5982 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.132, allocations: 4 kB / 0.5982 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.132, allocations: 4 kB / 0.5982 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.132, allocations: 3.953 kB / 0.5982 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.962e-05/1.132, allocations: 173.6 kB / 0.5984 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.132, allocations: 0 / 0.5984 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/1.132, allocations: 11.98 kB / 0.5984 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/1.132, allocations: 0 / 0.5984 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/1.132, allocations: 8 kB / 0.5984 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.132, allocations: 0 / 0.5984 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.132, allocations: 4 kB / 0.5984 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/1.132, allocations: 151.5 kB / 0.5986 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/1.132, allocations: 93.03 kB / 0.5987 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/1.132, allocations: 0 / 0.5987 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/1.133, allocations: 4 kB / 0.5987 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/1.133, allocations: 11.94 kB / 0.5987 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/1.133, allocations: 0 / 0.5987 GB, free: 113.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.782e-05/1.133, allocations: 91.34 kB / 0.5988 GB, free: 113.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.133, allocations: 3.938 kB / 0.5988 GB, free: 113.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004058/1.133, allocations: 147.8 kB / 0.5989 GB, free: 113.1 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.0005984/1.134, allocations: 297.3 kB / 0.5992 GB, free: 112.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/1.134, allocations: 35.92 kB / 0.5992 GB, free: 112.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.134, allocations: 4 kB / 0.5992 GB, free: 112.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.865e-05/1.134, allocations: 20 kB / 0.5992 GB, free: 112.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/1.134, allocations: 17.52 kB / 0.5993 GB, free: 112.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/1.134, allocations: 222.4 kB / 0.5995 GB, free: 112.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/1.135, allocations: 0.6926 MB / 0.6002 GB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.556e-05/1.135, allocations: 30.59 kB / 0.6002 GB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/1.135, allocations: 27.36 kB / 0.6002 GB, free: 111.8 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/1.135, allocations: 0 / 0.6002 GB, free: 111.8 MB / 426.7 MB Notification: Performance of Templates: time 0.005421/1.14, allocations: 2.874 MB / 0.603 GB, free: 108.9 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (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 & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)