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.001028/0.001028, allocations: 176.5 kB / 8.348 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.516/1.516, allocations: 221.5 MB / 230.3 MB, free: 7.535 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.0009899/0.0009899, allocations: 96.55 kB / 281.2 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.778e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1621, allocations: 50.42 MB / 387.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.777/0.9391, allocations: 185.9 MB / 0.5599 GB, free: 150.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/0.9395, allocations: 73.95 kB / 0.56 GB, free: 150.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0654/1.005, allocations: 27.19 MB / 0.5865 GB, free: 130.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.484e-06/1.005, allocations: 0 / 0.5865 GB, free: 130.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.934e-06/1.005, allocations: 4 kB / 0.5865 GB, free: 130.7 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.0006675/1.006, allocations: 469.9 kB / 0.587 GB, free: 130.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.006, allocations: 8.031 kB / 0.587 GB, free: 130.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/1.006, allocations: 8 kB / 0.587 GB, free: 130.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/1.006, allocations: 187 kB / 0.5872 GB, free: 130 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/1.006, allocations: 3.938 kB / 0.5872 GB, free: 130 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/1.006, allocations: 4 kB / 0.5872 GB, free: 129.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.956e-05/1.006, allocations: 15.98 kB / 0.5872 GB, free: 129.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.078e-05/1.006, allocations: 59.3 kB / 0.5873 GB, free: 129.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.006, allocations: 0 / 0.5873 GB, free: 129.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/1.006, allocations: 0 / 0.5873 GB, free: 129.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/1.006, allocations: 0 / 0.5873 GB, free: 129.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/1.006, allocations: 147.1 kB / 0.5874 GB, free: 129.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/1.007, allocations: 73.38 kB / 0.5875 GB, free: 129.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/1.007, allocations: 17.72 kB / 0.5875 GB, free: 129.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009612/1.008, allocations: 2.193 MB / 0.5896 GB, free: 126.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/1.008, allocations: 34.56 kB / 0.5897 GB, free: 126.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/1.008, allocations: 0 / 0.5897 GB, free: 126.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005761/1.008, allocations: 117.5 kB / 0.5898 GB, free: 126.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/1.008, allocations: 85 kB / 0.5898 GB, free: 126.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.749e-05/1.008, allocations: 105 kB / 0.5899 GB, free: 126.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/1.008, allocations: 25.7 kB / 0.59 GB, free: 126.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.692e-05/1.008, allocations: 92.08 kB / 0.5901 GB, free: 126.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/1.008, allocations: 27.64 kB / 0.5901 GB, free: 126.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/1.009, allocations: 0 / 0.5901 GB, free: 126.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.113e-05/1.009, allocations: 314.8 kB / 0.5904 GB, free: 126 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/1.009, allocations: 8 kB / 0.5904 GB, free: 126 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.874e-05/1.009, allocations: 35.42 kB / 0.5904 GB, free: 126 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/1.009, allocations: 59.94 kB / 0.5905 GB, free: 125.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.009, allocations: 4 kB / 0.5905 GB, free: 125.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004109/1.009, allocations: 117.5 kB / 0.5906 GB, free: 125.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.009, allocations: 8 kB / 0.5906 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.009, allocations: 0 / 0.5906 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.01, allocations: 0 / 0.5906 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.06e-05/1.01, allocations: 19.92 kB / 0.5906 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/1.01, allocations: 4 kB / 0.5906 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.204e-05/1.01, allocations: 3.953 kB / 0.5906 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/1.01, allocations: 7.984 kB / 0.5906 GB, free: 125.8 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 6.033e-05/1.01, allocations: 109 kB / 0.5907 GB, free: 125.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/1.01, allocations: 3.906 kB / 0.5907 GB, free: 125.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005753/1.01, allocations: 162.2 kB / 0.5909 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/1.01, allocations: 4 kB / 0.5909 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.01, allocations: 0 / 0.5909 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.01, allocations: 0 / 0.5909 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.64e-05/1.01, allocations: 162.1 kB / 0.5911 GB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.01, allocations: 3.938 kB / 0.5911 GB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.625e-05/1.011, allocations: 11.98 kB / 0.5911 GB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.011, allocations: 3.938 kB / 0.5911 GB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/1.011, allocations: 4 kB / 0.5911 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.011, allocations: 4 kB / 0.5911 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.011, allocations: 0 / 0.5911 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005215/1.011, allocations: 187.6 kB / 0.5913 GB, free: 125 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/1.011, allocations: 93.03 kB / 0.5914 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/1.011, allocations: 0 / 0.5914 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.159e-05/1.011, allocations: 7.984 kB / 0.5914 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/1.011, allocations: 11.94 kB / 0.5914 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/1.011, allocations: 288 / 0.5914 GB, free: 124.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.241e-05/1.011, allocations: 91.27 kB / 0.5915 GB, free: 124.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.011, allocations: 3.938 kB / 0.5915 GB, free: 124.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004721/1.012, allocations: 135.9 kB / 0.5916 GB, free: 124.7 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.0007079/1.013, allocations: 298.9 kB / 0.5919 GB, free: 124.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000169/1.013, allocations: 39.92 kB / 0.5919 GB, free: 124.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.013, allocations: 0 / 0.5919 GB, free: 124.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.844e-05/1.013, allocations: 27.94 kB / 0.5919 GB, free: 124.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/1.013, allocations: 8.109 kB / 0.592 GB, free: 124.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/1.013, allocations: 225.4 kB / 0.5922 GB, free: 124.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/1.014, allocations: 0.6924 MB / 0.5928 GB, free: 123.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.626e-05/1.014, allocations: 27.8 kB / 0.5929 GB, free: 123.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/1.014, allocations: 15.42 kB / 0.5929 GB, free: 123.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/1.014, allocations: 8 kB / 0.5929 GB, free: 123.3 MB / 426.7 MB Notification: Performance of Templates: time 0.005639/1.02, allocations: 2.758 MB / 0.5956 GB, free: 120.5 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)