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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001335, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004142, allocations: 14.81 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.203, allocations: 47.58 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.0011/0.2041, allocations: 1.044 MB / 327.5 MB, free: 0.5742 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.006677/0.2108, allocations: 5.514 MB / 333 MB, free: 12.24 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.2109, allocations: 1.469 kB / 333 MB, free: 12.24 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.2109, allocations: 0 / 333 MB, free: 12.24 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000965/0.2119, allocations: 239.9 kB / 333.2 MB, free: 12.08 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.2133, allocations: 0.5072 MB / 333.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.561e-05/0.2134, allocations: 45.95 kB / 333.8 MB, free: 11.72 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.2134, allocations: 1.938 kB / 333.8 MB, free: 11.72 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.2135, allocations: 34.5 kB / 333.8 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007537/0.2143, allocations: 376.2 kB / 334.2 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.2143, allocations: 4.875 kB / 334.2 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009795/0.2153, allocations: 0.5445 MB / 334.7 MB, free: 11.19 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.2153, allocations: 4 kB / 334.7 MB, free: 11.19 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.2154, allocations: 33.64 kB / 334.8 MB, free: 11.15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005353/0.2159, allocations: 324.8 kB / 335.1 MB, free: 10.83 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.2159, allocations: 3.938 kB / 335.1 MB, free: 10.83 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2159, allocations: 4 kB / 335.1 MB, free: 10.82 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.2159, allocations: 0 / 335.1 MB, free: 10.82 MB / 270.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.000477/0.2164, allocations: 455 kB / 335.5 MB, free: 10.33 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.2165, allocations: 8.031 kB / 335.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.2165, allocations: 7.906 kB / 335.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.2167, allocations: 183 kB / 335.7 MB, free: 10.1 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2167, allocations: 4 kB / 335.7 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.2168, allocations: 0 / 335.7 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.2169, allocations: 63.39 kB / 335.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2169, allocations: 3.938 kB / 335.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2169, allocations: 0 / 335.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.217, allocations: 4 kB / 335.8 MB, free: 10.01 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-05/0.217, allocations: 15.98 kB / 335.8 MB, free: 9.996 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.2172, allocations: 174.6 kB / 336 MB, free: 9.773 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.2175, allocations: 89.2 kB / 336.1 MB, free: 9.668 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009096/0.2184, allocations: 1.528 MB / 337.6 MB, free: 7.789 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2185, allocations: 38.55 kB / 337.6 MB, free: 7.742 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.2185, allocations: 0 / 337.6 MB, free: 7.742 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.000265/0.2187, allocations: 85.5 kB / 337.7 MB, free: 7.652 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.2188, allocations: 81.11 kB / 337.8 MB, free: 7.555 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.045e-05/0.2189, allocations: 109.8 kB / 337.9 MB, free: 7.438 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2189, allocations: 29.7 kB / 337.9 MB, free: 7.402 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.219, allocations: 80.14 kB / 338 MB, free: 7.32 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.219, allocations: 27.64 kB / 338.1 MB, free: 7.293 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.219, allocations: 4 kB / 338.1 MB, free: 7.289 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.2192, allocations: 314.8 kB / 338.4 MB, free: 6.973 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.425e-05/0.2192, allocations: 19.98 kB / 338.4 MB, free: 6.953 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.624e-05/0.2193, allocations: 39.42 kB / 338.4 MB, free: 6.902 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.881e-05/0.2194, allocations: 15.95 kB / 338.4 MB, free: 6.887 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2194, allocations: 0 / 338.4 MB, free: 6.887 MB / 270.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001736/0.2195, allocations: 85.59 kB / 338.5 MB, free: 6.797 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2196, allocations: 7.938 kB / 338.5 MB, free: 6.789 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2196, allocations: 0 / 338.5 MB, free: 6.789 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2196, allocations: 4 kB / 338.5 MB, free: 6.785 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.2197, allocations: 19.92 kB / 338.6 MB, free: 6.766 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2197, allocations: 480 / 338.6 MB, free: 6.766 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.2197, allocations: 7.906 kB / 338.6 MB, free: 6.758 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.2198, allocations: 4 kB / 338.6 MB, free: 6.754 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.181e-05/0.2198, allocations: 117.9 kB / 338.7 MB, free: 6.629 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.2199, allocations: 7.938 kB / 338.7 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.2202, allocations: 129.2 kB / 338.8 MB, free: 6.492 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.2202, allocations: 7.984 kB / 338.8 MB, free: 6.484 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2202, allocations: 0 / 338.8 MB, free: 6.484 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2203, allocations: 0 / 338.8 MB, free: 6.484 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.2204, allocations: 173.6 kB / 339 MB, free: 6.266 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.2204, allocations: 7.953 kB / 339 MB, free: 6.258 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.599e-05/0.2205, allocations: 12 kB / 339 MB, free: 6.246 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2205, allocations: 4 kB / 339 MB, free: 6.242 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.2205, allocations: 0 / 339 MB, free: 6.242 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.2205, allocations: 7.984 kB / 339 MB, free: 6.234 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2205, allocations: 0.5625 kB / 339 MB, free: 6.234 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.2208, allocations: 159.5 kB / 339.2 MB, free: 6.051 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.2209, allocations: 85.12 kB / 339.3 MB, free: 5.949 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.2209, allocations: 7.984 kB / 339.3 MB, free: 5.941 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.221, allocations: 4 kB / 339.3 MB, free: 5.938 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.221, allocations: 7.984 kB / 339.3 MB, free: 5.93 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.221, allocations: 3.984 kB / 339.3 MB, free: 5.926 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.473e-05/0.2211, allocations: 87.28 kB / 339.4 MB, free: 5.84 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2211, allocations: 0 / 339.4 MB, free: 5.84 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004478/0.2215, allocations: 175.9 kB / 339.5 MB, free: 5.668 MB / 270.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 (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.0007371/0.2223, allocations: 357.8 kB / 339.9 MB, free: 5.312 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.2225, allocations: 47.91 kB / 339.9 MB, free: 5.266 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2225, allocations: 0 / 339.9 MB, free: 5.266 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.722e-05/0.2226, allocations: 40.05 kB / 340 MB, free: 5.227 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.2228, allocations: 7.953 kB / 340 MB, free: 5.219 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.2233, allocations: 345.8 kB / 340.3 MB, free: 4.852 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.2236, allocations: 0.6926 MB / 341 MB, free: 4.133 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.788e-05/0.2237, allocations: 35.69 kB / 341.1 MB, free: 4.098 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.2237, allocations: 23.31 kB / 341.1 MB, free: 4.074 MB / 270.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2237, allocations: 0 / 341.1 MB, free: 4.074 MB / 270.1 MB Notification: Performance of Templates: time 0.006801/0.2305, allocations: 3.639 MB / 344.7 MB, free: 440 kB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: