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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001322/0.001323, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001625, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2197, allocations: 50.54 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002068/0.2218, allocations: 1.375 MB / 410.6 MB, free: 236 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004551/0.2263, allocations: 4.031 MB / 414.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.2264, allocations: 0 / 414.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.2264, allocations: 7.984 kB / 414.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008228/0.2272, allocations: 274.9 kB / 414.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008782/0.2281, allocations: 0.4939 MB / 415.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.959e-05/0.2282, allocations: 59.66 kB / 415.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.222e-05/0.2283, allocations: 4 kB / 415.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.245e-05/0.2284, allocations: 35.84 kB / 415.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006019/0.229, allocations: 363 kB / 415.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.229, allocations: 0 / 415.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008531/0.2299, allocations: 0.6005 MB / 416.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.2299, allocations: 11.98 kB / 416.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.2299, allocations: 19.88 kB / 416.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006086/0.2305, allocations: 460.5 kB / 416.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2305, allocations: 0 / 416.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2306, allocations: 0 / 416.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.2306, allocations: 0 / 416.9 MB, free: 9.875 MB / 334.1 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.0004743/0.231, allocations: 435.2 kB / 417.4 MB, free: 9.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2311, allocations: 16.02 kB / 417.4 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.2311, allocations: 4.844 kB / 417.4 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.2313, allocations: 188.3 kB / 417.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2313, allocations: 8.375 kB / 417.6 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.2314, allocations: 3.938 kB / 417.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.2315, allocations: 59.39 kB / 417.6 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.2315, allocations: 3.938 kB / 417.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.2315, allocations: 0 / 417.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.2315, allocations: 0 / 417.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.833e-05/0.2316, allocations: 19.98 kB / 417.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.2318, allocations: 174.6 kB / 417.8 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.2321, allocations: 85.06 kB / 417.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.131e-05/0.2321, allocations: 17.78 kB / 417.9 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009028/0.233, allocations: 1.548 MB / 419.5 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.2331, allocations: 38.5 kB / 419.5 MB, free: 6.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2331, allocations: 0 / 419.5 MB, free: 6.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002733/0.2334, allocations: 77.97 kB / 419.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.2334, allocations: 81.11 kB / 419.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.381e-05/0.2335, allocations: 109.8 kB / 419.8 MB, free: 6.465 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.2335, allocations: 29.7 kB / 419.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.2336, allocations: 88.14 kB / 419.9 MB, free: 6.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.2336, allocations: 23.58 kB / 419.9 MB, free: 6.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.2336, allocations: 25.72 kB / 419.9 MB, free: 6.285 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2337, allocations: 314.8 kB / 420.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.91e-05/0.2338, allocations: 15.98 kB / 420.3 MB, free: 5.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.089e-05/0.2339, allocations: 47.41 kB / 420.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.234, allocations: 55.36 kB / 420.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.234, allocations: 0 / 420.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001931/0.2342, allocations: 85.45 kB / 420.5 MB, free: 5.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2342, allocations: 4 kB / 420.5 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2343, allocations: 8.062 kB / 420.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2343, allocations: 0 / 420.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.2343, allocations: 19.92 kB / 420.5 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2344, allocations: 3.938 kB / 420.5 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.2344, allocations: 8 kB / 420.5 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.2344, allocations: 7.984 kB / 420.5 MB, free: 5.688 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.898e-05/0.2345, allocations: 121.7 kB / 420.6 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.2345, allocations: 3.906 kB / 420.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.2349, allocations: 132.9 kB / 420.8 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.2349, allocations: 0 / 420.8 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2349, allocations: 0 / 420.8 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2349, allocations: 0 / 420.8 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.235, allocations: 177.6 kB / 420.9 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.235, allocations: 0 / 420.9 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-05/0.2351, allocations: 19.92 kB / 420.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2351, allocations: 4 kB / 421 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.2352, allocations: 4 kB / 421 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2352, allocations: 0 / 421 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2352, allocations: 0 / 421 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.2355, allocations: 145.8 kB / 421.1 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.2355, allocations: 85 kB / 421.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2355, allocations: 8.062 kB / 421.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.101e-05/0.2356, allocations: 4 kB / 421.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.2356, allocations: 7.938 kB / 421.2 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.2356, allocations: 11.92 kB / 421.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.2357, allocations: 83.83 kB / 421.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2357, allocations: 4 kB / 421.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003742/0.2361, allocations: 131.8 kB / 421.4 MB, free: 4.652 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005783/0.2367, allocations: 298.4 kB / 421.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.2369, allocations: 47.91 kB / 421.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2369, allocations: 0 / 421.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.403e-05/0.237, allocations: 23.98 kB / 421.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.2371, allocations: 22.47 kB / 421.8 MB, free: 4.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.2376, allocations: 282.4 kB / 422.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.2378, allocations: 0.6885 MB / 422.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.645e-05/0.2379, allocations: 31.53 kB / 422.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.2379, allocations: 23.42 kB / 422.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2379, allocations: 0 / 422.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of Templates: time 0.005854/0.2438, allocations: 3.066 MB / 425.9 MB, free: 160 kB / 334.1 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)