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.001261/0.001261, allocations: 198.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 227.2 MB / 245 MB, free: 7.645 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009166/0.0009167, allocations: 96.22 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002279/0.0002279, allocations: 11.98 kB / 357.9 MB, free: 9.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2174, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3886/0.6061, allocations: 187.4 MB / 0.5828 GB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.6063, allocations: 73.28 kB / 0.5829 GB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06264/0.669, allocations: 27.79 MB / 0.61 GB, free: 3.195 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.669, allocations: 0 / 0.61 GB, free: 3.195 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.669, allocations: 0 / 0.61 GB, free: 3.195 MB / 394.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.0006637/0.6697, allocations: 485.4 kB / 0.6105 GB, free: 2.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.6697, allocations: 8.031 kB / 0.6105 GB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.6698, allocations: 4 kB / 0.6105 GB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.67, allocations: 190.8 kB / 0.6107 GB, free: 2.449 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.67, allocations: 3.25 kB / 0.6107 GB, free: 2.449 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.67, allocations: 7.906 kB / 0.6107 GB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.6702, allocations: 70.25 kB / 0.6108 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.6702, allocations: 3.938 kB / 0.6108 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.6702, allocations: 0 / 0.6108 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.6702, allocations: 0 / 0.6108 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.6703, allocations: 15.98 kB / 0.6108 GB, free: 2.348 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.6705, allocations: 177.5 kB / 0.611 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.6708, allocations: 79.98 kB / 0.611 GB, free: 2.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/0.6722, allocations: 2.191 MB / 0.6132 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.6722, allocations: 42.11 kB / 0.6132 GB, free: 15.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.6722, allocations: 0 / 0.6132 GB, free: 15.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002826/0.6725, allocations: 80.22 kB / 0.6133 GB, free: 15.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.6726, allocations: 77.11 kB / 0.6134 GB, free: 15.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.521e-05/0.6727, allocations: 108.5 kB / 0.6135 GB, free: 15.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.6727, allocations: 33.58 kB / 0.6135 GB, free: 15.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.6728, allocations: 84.14 kB / 0.6136 GB, free: 14.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.6728, allocations: 23.22 kB / 0.6136 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.6728, allocations: 0 / 0.6136 GB, free: 14.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.673, allocations: 318.3 kB / 0.6139 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.673, allocations: 11.69 kB / 0.6139 GB, free: 14.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.6731, allocations: 38.67 kB / 0.614 GB, free: 14.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.498e-05/0.6732, allocations: 19.17 kB / 0.614 GB, free: 14.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6732, allocations: 0 / 0.614 GB, free: 14.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002052/0.6734, allocations: 87.34 kB / 0.6141 GB, free: 14.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6734, allocations: 11.92 kB / 0.6141 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.6734, allocations: 4 kB / 0.6141 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.6735, allocations: 0 / 0.6141 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.6735, allocations: 12 kB / 0.6141 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.6736, allocations: 4 kB / 0.6141 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.6736, allocations: 8.047 kB / 0.6141 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.6736, allocations: 4 kB / 0.6141 GB, free: 14.39 MB / 410.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 9.084e-05/0.6737, allocations: 113.2 kB / 0.6142 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.6737, allocations: 8.328 kB / 0.6142 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.6741, allocations: 130.9 kB / 0.6143 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.6741, allocations: 4.031 kB / 0.6143 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6741, allocations: 4 kB / 0.6144 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.6741, allocations: 3.984 kB / 0.6144 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.6743, allocations: 176 kB / 0.6145 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6743, allocations: 3.938 kB / 0.6145 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.056e-05/0.6744, allocations: 15.98 kB / 0.6145 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.6744, allocations: 0 / 0.6145 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.6744, allocations: 3.953 kB / 0.6145 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6744, allocations: 4 kB / 0.6146 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6744, allocations: 0 / 0.6146 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.6747, allocations: 153.3 kB / 0.6147 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.6748, allocations: 92.78 kB / 0.6148 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.6748, allocations: 7.953 kB / 0.6148 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.049e-05/0.6749, allocations: 3.984 kB / 0.6148 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.6749, allocations: 11.19 kB / 0.6148 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.6749, allocations: 4 kB / 0.6148 GB, free: 13.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.821e-05/0.675, allocations: 86.7 kB / 0.6149 GB, free: 13.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.675, allocations: 0 / 0.6149 GB, free: 13.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005393/0.6755, allocations: 146 kB / 0.615 GB, free: 13.4 MB / 410.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.0007522/0.6763, allocations: 305 kB / 0.6153 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.6765, allocations: 50.72 kB / 0.6154 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6765, allocations: 0 / 0.6154 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.639e-05/0.6766, allocations: 34.67 kB / 0.6154 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.6768, allocations: 16.73 kB / 0.6154 GB, free: 13.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.6773, allocations: 349 kB / 0.6158 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.6777, allocations: 0.6887 MB / 0.6164 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.897e-05/0.6777, allocations: 27.59 kB / 0.6165 GB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.6778, allocations: 23 kB / 0.6165 GB, free: 11.9 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6778, allocations: 0 / 0.6165 GB, free: 11.9 MB / 410.7 MB Notification: Performance of Templates: time 0.005674/0.6835, allocations: 2.897 MB / 0.6193 GB, free: 9.039 MB / 410.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)