Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7712/0.7712, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001684/0.001685, allocations: 143.4 kB / 151.8 MB, free: 4.969 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.0002547, allocations: 4 kB / 184.9 MB, free: 3.898 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1567, allocations: 25.14 MB / 210 MB, free: 29.72 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08475/0.2415, allocations: 71.55 MB / 281.6 MB, free: 10.2 MB / 218.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.2419, allocations: 65.28 kB / 281.7 MB, free: 10.14 MB / 218.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2061/0.448, allocations: 37.17 MB / 318.8 MB, free: 54.11 MB / 218.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.448, allocations: 4 kB / 318.8 MB, free: 54.11 MB / 218.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.448, allocations: 0 / 318.8 MB, free: 54.11 MB / 218.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.0008437/0.4489, allocations: 0.4938 MB / 319.3 MB, free: 53.57 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4489, allocations: 8.031 kB / 319.3 MB, free: 53.56 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.449, allocations: 7.906 kB / 319.3 MB, free: 53.55 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.4492, allocations: 183.9 kB / 319.5 MB, free: 53.34 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.4492, allocations: 0.5156 kB / 319.5 MB, free: 53.34 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.4492, allocations: 5.594 kB / 319.5 MB, free: 53.33 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.4494, allocations: 71.28 kB / 319.6 MB, free: 53.25 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4494, allocations: 0 / 319.6 MB, free: 53.25 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.4494, allocations: 7.984 kB / 319.6 MB, free: 53.24 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4494, allocations: 0 / 319.6 MB, free: 53.24 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.4495, allocations: 23.97 kB / 319.6 MB, free: 53.22 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.4497, allocations: 170.5 kB / 319.8 MB, free: 53 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.45, allocations: 85.3 kB / 319.9 MB, free: 52.9 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008194/0.4508, allocations: 1.821 MB / 321.7 MB, free: 50.67 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.4508, allocations: 34.56 kB / 321.7 MB, free: 50.63 MB / 218.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4508, allocations: 0 / 321.7 MB, free: 50.63 MB / 218.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003093/0.4512, allocations: 93.81 kB / 321.8 MB, free: 50.53 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.4512, allocations: 81.11 kB / 321.9 MB, free: 50.43 MB / 218.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.4513, allocations: 104.9 kB / 322 MB, free: 50.32 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.4513, allocations: 29.7 kB / 322 MB, free: 50.29 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.4513, allocations: 83.78 kB / 322.1 MB, free: 50.21 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.4514, allocations: 27.66 kB / 322.1 MB, free: 50.18 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.4514, allocations: 6.75 kB / 322.1 MB, free: 50.18 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.4514, allocations: 322.8 kB / 322.5 MB, free: 49.85 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/0.4515, allocations: 7.984 kB / 322.5 MB, free: 49.84 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.678e-05/0.4516, allocations: 29.7 kB / 322.5 MB, free: 49.81 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.107e-05/0.4516, allocations: 19.97 kB / 322.5 MB, free: 49.79 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4517, allocations: 4 kB / 322.5 MB, free: 49.79 MB / 218.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001614/0.4518, allocations: 69.59 kB / 322.6 MB, free: 49.71 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4518, allocations: 8 kB / 322.6 MB, free: 49.7 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4519, allocations: 0 / 322.6 MB, free: 49.7 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4519, allocations: 3.953 kB / 322.6 MB, free: 49.7 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.452, allocations: 15.98 kB / 322.6 MB, free: 49.68 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.452, allocations: 0 / 322.6 MB, free: 49.68 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.452, allocations: 0 / 322.6 MB, free: 49.68 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.452, allocations: 8 kB / 322.6 MB, free: 49.68 MB / 218.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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.153e-05/0.4521, allocations: 109.8 kB / 322.7 MB, free: 49.56 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.4521, allocations: 7.906 kB / 322.7 MB, free: 49.55 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.4524, allocations: 132 kB / 322.9 MB, free: 49.42 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4524, allocations: 0 / 322.9 MB, free: 49.42 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4525, allocations: 7.953 kB / 322.9 MB, free: 49.41 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4525, allocations: 4 kB / 322.9 MB, free: 49.41 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.374e-05/0.4526, allocations: 177.5 kB / 323.1 MB, free: 49.18 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4526, allocations: 4 kB / 323.1 MB, free: 49.18 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.177e-05/0.4526, allocations: 11.98 kB / 323.1 MB, free: 49.17 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4526, allocations: 0 / 323.1 MB, free: 49.17 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4527, allocations: 4 kB / 323.1 MB, free: 49.16 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4527, allocations: 0 / 323.1 MB, free: 49.16 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4527, allocations: 3.984 kB / 323.1 MB, free: 49.16 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.4529, allocations: 135.6 kB / 323.2 MB, free: 49 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.4529, allocations: 93 kB / 323.3 MB, free: 48.89 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.4529, allocations: 0 / 323.3 MB, free: 48.89 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.554e-05/0.453, allocations: 2.25 kB / 323.3 MB, free: 48.89 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.453, allocations: 15.94 kB / 323.3 MB, free: 48.88 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.4531, allocations: 8 kB / 323.3 MB, free: 48.87 MB / 218.7 MB Notification: Performance of sorting global known variables: time 3.041e-05/0.4531, allocations: 91.27 kB / 323.4 MB, free: 48.78 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4531, allocations: 0 / 323.4 MB, free: 48.78 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.0005739/0.4537, allocations: 183.7 kB / 323.6 MB, free: 48.6 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 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.0007702/0.4545, allocations: 372.9 kB / 324 MB, free: 48.23 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.4547, allocations: 47.91 kB / 324 MB, free: 48.18 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4547, allocations: 0 / 324 MB, free: 48.18 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 8.858e-05/0.4548, allocations: 35.91 kB / 324 MB, free: 48.14 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.455, allocations: 23.08 kB / 324.1 MB, free: 48.12 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.4553, allocations: 198.6 kB / 324.3 MB, free: 47.9 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.4554, allocations: 0.6887 MB / 324.9 MB, free: 47.19 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 8.809e-05/0.4555, allocations: 31.91 kB / 325 MB, free: 47.16 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.4556, allocations: 19.42 kB / 325 MB, free: 47.14 MB / 218.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4556, allocations: 0 / 325 MB, free: 47.14 MB / 218.7 MB Notification: Performance of Templates: time 0.005973/0.4616, allocations: 3.598 MB / 328.6 MB, free: 43.55 MB / 218.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)