Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001514/0.001514, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.729/1.729, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.001039, allocations: 101.8 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.817e-05, allocations: 0 / 343.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 51.47 MB / 395.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6031/0.7304, allocations: 186.7 MB / 0.5682 GB, free: 7.484 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/0.7307, allocations: 76.89 kB / 0.5683 GB, free: 7.445 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3479/1.079, allocations: 27.54 MB / 0.5952 GB, free: 134.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.342e-06/1.079, allocations: 0 / 0.5952 GB, free: 134.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/1.079, allocations: 3.062 kB / 0.5952 GB, free: 134.8 MB / 442.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.0006907/1.079, allocations: 479.9 kB / 0.5956 GB, free: 134.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.08, allocations: 9.344 kB / 0.5956 GB, free: 134.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/1.08, allocations: 7.062 kB / 0.5957 GB, free: 134.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/1.08, allocations: 182.8 kB / 0.5958 GB, free: 134.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/1.08, allocations: 0 / 0.5958 GB, free: 134.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/1.08, allocations: 5.156 kB / 0.5958 GB, free: 134.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.59e-05/1.08, allocations: 17.25 kB / 0.5958 GB, free: 134.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.135e-05/1.08, allocations: 55.72 kB / 0.5959 GB, free: 134.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.08, allocations: 3.984 kB / 0.5959 GB, free: 134.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/1.08, allocations: 0 / 0.5959 GB, free: 134.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.08, allocations: 3.953 kB / 0.5959 GB, free: 134.1 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/1.08, allocations: 154 kB / 0.5961 GB, free: 133.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/1.08, allocations: 69.44 kB / 0.5961 GB, free: 133.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/1.08, allocations: 22.83 kB / 0.5961 GB, free: 133.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009592/1.081, allocations: 2.19 MB / 0.5983 GB, free: 131.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/1.081, allocations: 33.75 kB / 0.5983 GB, free: 131.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/1.081, allocations: 0 / 0.5983 GB, free: 131.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006205/1.082, allocations: 119.7 kB / 0.5984 GB, free: 131.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/1.082, allocations: 84.53 kB / 0.5985 GB, free: 131.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/1.082, allocations: 98.5 kB / 0.5986 GB, free: 131 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/1.082, allocations: 25.7 kB / 0.5986 GB, free: 131 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/1.082, allocations: 87.55 kB / 0.5987 GB, free: 130.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/1.082, allocations: 19.12 kB / 0.5987 GB, free: 130.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/1.082, allocations: 0 / 0.5987 GB, free: 130.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.66e-05/1.082, allocations: 325.6 kB / 0.599 GB, free: 130.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/1.082, allocations: 6.656 kB / 0.599 GB, free: 130.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.726e-05/1.082, allocations: 34.16 kB / 0.5991 GB, free: 130.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/1.083, allocations: 71.44 kB / 0.5991 GB, free: 130.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.083, allocations: 1.781 kB / 0.5992 GB, free: 130.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004319/1.083, allocations: 125.1 kB / 0.5993 GB, free: 130.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.083, allocations: 5.938 kB / 0.5993 GB, free: 130.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.083, allocations: 0 / 0.5993 GB, free: 130.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/1.083, allocations: 7.25 kB / 0.5993 GB, free: 130.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/1.083, allocations: 16.67 kB / 0.5993 GB, free: 130.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.083, allocations: 0 / 0.5993 GB, free: 130.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/1.083, allocations: 3.156 kB / 0.5993 GB, free: 130.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/1.083, allocations: 3.5 kB / 0.5993 GB, free: 130.4 MB / 442.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.125e-05/1.084, allocations: 108.9 kB / 0.5994 GB, free: 130.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/1.084, allocations: 3.219 kB / 0.5994 GB, free: 130.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005836/1.084, allocations: 172.8 kB / 0.5996 GB, free: 130.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.084, allocations: 288 / 0.5996 GB, free: 130.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.084, allocations: 0 / 0.5996 GB, free: 130.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.084, allocations: 2.938 kB / 0.5996 GB, free: 130.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.419e-05/1.084, allocations: 154.7 kB / 0.5997 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.084, allocations: 0 / 0.5997 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.701e-05/1.084, allocations: 16.91 kB / 0.5997 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.084, allocations: 0 / 0.5997 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/1.084, allocations: 5.438 kB / 0.5997 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.084, allocations: 4 kB / 0.5998 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.084, allocations: 0 / 0.5998 GB, free: 130.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/1.085, allocations: 196.4 kB / 0.5999 GB, free: 130 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/1.085, allocations: 98.67 kB / 0.6 GB, free: 129.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/1.085, allocations: 3.094 kB / 0.6 GB, free: 129.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/1.085, allocations: 3.938 kB / 0.6 GB, free: 129.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/1.085, allocations: 10.75 kB / 0.6001 GB, free: 129.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/1.085, allocations: 7.375 kB / 0.6001 GB, free: 129.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.958e-05/1.085, allocations: 84.58 kB / 0.6001 GB, free: 129.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.085, allocations: 0 / 0.6001 GB, free: 129.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005106/1.086, allocations: 141.2 kB / 0.6003 GB, free: 129.7 MB / 442.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.000594/1.086, allocations: 306.6 kB / 0.6006 GB, free: 129.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.908e-05/1.086, allocations: 38.36 kB / 0.6006 GB, free: 129.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.086, allocations: 0 / 0.6006 GB, free: 129.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/1.086, allocations: 29.78 kB / 0.6006 GB, free: 129.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/1.087, allocations: 9.234 kB / 0.6006 GB, free: 129.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/1.087, allocations: 217.4 kB / 0.6008 GB, free: 129.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/1.087, allocations: 0.6886 MB / 0.6015 GB, free: 128.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.179e-05/1.087, allocations: 27.95 kB / 0.6015 GB, free: 128.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/1.087, allocations: 20.8 kB / 0.6016 GB, free: 128.7 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/1.087, allocations: 0 / 0.6016 GB, free: 128.7 MB / 442.7 MB Notification: Performance of Templates: time 0.005973/1.093, allocations: 2.795 MB / 0.6043 GB, free: 128.3 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)