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.001129/0.001129, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 196.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.001616/0.001616, allocations: 51.94 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2136, allocations: 46.63 MB / 325.3 MB, free: 1.887 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002142/0.2158, allocations: 1.357 MB / 326.7 MB, free: 0.8008 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00872/0.2245, allocations: 7.135 MB / 333.8 MB, free: 11.08 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.2246, allocations: 0 / 333.8 MB, free: 11.08 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.2246, allocations: 7.922 kB / 333.8 MB, free: 11.07 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. Notification: Performance of NFTyping.typeBindings: time 0.001043/0.2257, allocations: 273.7 kB / 334.1 MB, free: 10.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.2273, allocations: 0.6925 MB / 334.8 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.201e-05/0.2274, allocations: 55.73 kB / 334.8 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.2274, allocations: 0 / 334.8 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.2276, allocations: 39.84 kB / 334.9 MB, free: 10.33 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006696/0.2282, allocations: 355.3 kB / 335.2 MB, free: 9.984 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.2283, allocations: 8 kB / 335.2 MB, free: 9.977 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.2294, allocations: 0.7057 MB / 335.9 MB, free: 9.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.2295, allocations: 15.92 kB / 335.9 MB, free: 9.254 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.2295, allocations: 19.92 kB / 335.9 MB, free: 9.234 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008595/0.2304, allocations: 0.5536 MB / 336.5 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2304, allocations: 3.938 kB / 336.5 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2304, allocations: 0 / 336.5 MB, free: 8.676 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2304, allocations: 0 / 336.5 MB, free: 8.676 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.0006273/0.2311, allocations: 467.2 kB / 337 MB, free: 8.172 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2311, allocations: 11.89 kB / 337 MB, free: 8.16 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.2311, allocations: 12.84 kB / 337 MB, free: 8.148 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.2313, allocations: 188.2 kB / 337.2 MB, free: 7.926 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2314, allocations: 384 / 337.2 MB, free: 7.926 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.2314, allocations: 4.375 kB / 337.2 MB, free: 7.922 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.2316, allocations: 67.52 kB / 337.2 MB, free: 7.844 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2316, allocations: 4 kB / 337.2 MB, free: 7.84 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2316, allocations: 3.938 kB / 337.2 MB, free: 7.836 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2316, allocations: 3.938 kB / 337.3 MB, free: 7.832 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.835e-05/0.2317, allocations: 23.97 kB / 337.3 MB, free: 7.809 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.2319, allocations: 170.5 kB / 337.4 MB, free: 7.59 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.2322, allocations: 85.22 kB / 337.5 MB, free: 7.488 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.937e-05/0.2323, allocations: 29.7 kB / 337.6 MB, free: 7.453 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.2333, allocations: 1.54 MB / 339.1 MB, free: 5.562 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.2334, allocations: 34.5 kB / 339.1 MB, free: 5.52 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2334, allocations: 0 / 339.1 MB, free: 5.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003025/0.2337, allocations: 85.59 kB / 339.2 MB, free: 5.43 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.2337, allocations: 77.11 kB / 339.3 MB, free: 5.336 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.561e-05/0.2338, allocations: 113.8 kB / 339.4 MB, free: 5.215 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.2339, allocations: 25.7 kB / 339.4 MB, free: 5.184 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.2339, allocations: 80.14 kB / 339.5 MB, free: 5.102 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.2339, allocations: 31.62 kB / 339.5 MB, free: 5.07 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.234, allocations: 21.72 kB / 339.6 MB, free: 5.043 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.2341, allocations: 318.8 kB / 339.9 MB, free: 4.723 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.2341, allocations: 15.94 kB / 339.9 MB, free: 4.707 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.2342, allocations: 43.41 kB / 339.9 MB, free: 4.652 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.2344, allocations: 59.36 kB / 340 MB, free: 4.582 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2344, allocations: 4 kB / 340 MB, free: 4.578 MB / 270.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001886/0.2346, allocations: 85.45 kB / 340.1 MB, free: 4.488 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2346, allocations: 4 kB / 340.1 MB, free: 4.484 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2346, allocations: 0 / 340.1 MB, free: 4.484 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.2346, allocations: 4 kB / 340.1 MB, free: 4.48 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.2347, allocations: 15.98 kB / 340.1 MB, free: 4.465 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2347, allocations: 0 / 340.1 MB, free: 4.465 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.315e-05/0.2348, allocations: 7.938 kB / 340.1 MB, free: 4.457 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.2348, allocations: 4 kB / 340.1 MB, free: 4.453 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.2349, allocations: 117.9 kB / 340.2 MB, free: 4.328 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.2349, allocations: 11.84 kB / 340.2 MB, free: 4.316 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.2353, allocations: 113.9 kB / 340.3 MB, free: 4.203 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.026e-06/0.2353, allocations: 4.094 kB / 340.3 MB, free: 4.199 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2353, allocations: 3.984 kB / 340.3 MB, free: 4.195 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2353, allocations: 4 kB / 340.4 MB, free: 4.191 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.2354, allocations: 169.7 kB / 340.5 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2355, allocations: 0 / 340.5 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.445e-05/0.2356, allocations: 27.86 kB / 340.5 MB, free: 3.949 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2356, allocations: 0 / 340.5 MB, free: 3.949 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2356, allocations: 0 / 340.5 MB, free: 3.949 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2356, allocations: 8.344 kB / 340.6 MB, free: 3.941 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2356, allocations: 4 kB / 340.6 MB, free: 3.938 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.2359, allocations: 141.8 kB / 340.7 MB, free: 3.777 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.236, allocations: 100.9 kB / 340.8 MB, free: 3.66 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.236, allocations: 3.984 kB / 340.8 MB, free: 3.656 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.236, allocations: 4 kB / 340.8 MB, free: 3.652 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.2361, allocations: 8 kB / 340.8 MB, free: 3.645 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.2361, allocations: 0 / 340.8 MB, free: 3.645 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.402e-05/0.2362, allocations: 95.2 kB / 340.9 MB, free: 3.551 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2362, allocations: 4.062 kB / 340.9 MB, free: 3.547 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004693/0.2366, allocations: 167.9 kB / 341.1 MB, free: 3.383 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 (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.0007537/0.2374, allocations: 369.9 kB / 341.4 MB, free: 3.016 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.2376, allocations: 51.91 kB / 341.5 MB, free: 2.965 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2376, allocations: 4.125 kB / 341.5 MB, free: 2.961 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/0.2377, allocations: 35.86 kB / 341.5 MB, free: 2.926 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.2379, allocations: 11.94 kB / 341.5 MB, free: 2.914 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.2384, allocations: 295.8 kB / 341.8 MB, free: 2.598 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.2387, allocations: 0.6885 MB / 342.5 MB, free: 1.883 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.983e-05/0.2387, allocations: 23.77 kB / 342.5 MB, free: 1.859 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.2388, allocations: 23.42 kB / 342.6 MB, free: 1.836 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2388, allocations: 0 / 342.6 MB, free: 1.836 MB / 270.1 MB Notification: Performance of Templates: time 0.007018/0.2458, allocations: 3.721 MB / 346.3 MB, free: 14.11 MB / 286.1 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)