Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001196/0.001196, allocations: 110.5 kB / 17.06 MB, free: 5.941 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.00118/0.001181, allocations: 200 kB / 18.01 MB, free: 5.031 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.37/1.37, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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.001107/0.001107, allocations: 51.94 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07478/0.07589, allocations: 46.61 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00216/0.07809, allocations: 1.365 MB / 375.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1608/0.2389, allocations: 7.14 MB / 383 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.2389, allocations: 5.312 kB / 383 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.239, allocations: 1.969 kB / 383 MB, free: 8.918 MB / 318.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.0009036/0.2399, allocations: 272.5 kB / 383.3 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.2413, allocations: 0.6844 MB / 383.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.748e-05/0.2414, allocations: 58.73 kB / 384 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.28e-05/0.2414, allocations: 7.234 kB / 384 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.889e-05/0.2415, allocations: 41.25 kB / 384 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006291/0.2422, allocations: 359.4 kB / 384.4 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.2422, allocations: 1.094 kB / 384.4 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.2434, allocations: 0.8007 MB / 385.2 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.2434, allocations: 6.219 kB / 385.2 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.2434, allocations: 28.69 kB / 385.2 MB, free: 8.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008174/0.2443, allocations: 0.5511 MB / 385.8 MB, free: 8.367 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2443, allocations: 5.281 kB / 385.8 MB, free: 8.367 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2443, allocations: 3.938 kB / 385.8 MB, free: 8.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2443, allocations: 0.5625 kB / 385.8 MB, free: 8.363 MB / 318.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.0004379/0.2447, allocations: 466.5 kB / 386.2 MB, free: 7.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.2448, allocations: 17.27 kB / 386.3 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.2448, allocations: 7.078 kB / 386.3 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.245, allocations: 182.3 kB / 386.4 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.245, allocations: 2.25 kB / 386.4 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.245, allocations: 10.44 kB / 386.5 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.2451, allocations: 65.83 kB / 386.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.2452, allocations: 3.938 kB / 386.5 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.2452, allocations: 6.625 kB / 386.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2452, allocations: 1.062 kB / 386.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.2453, allocations: 17.03 kB / 386.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.2454, allocations: 186.1 kB / 386.7 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.2456, allocations: 75.61 kB / 386.8 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.835e-05/0.2457, allocations: 27.84 kB / 386.8 MB, free: 7.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005698/0.2463, allocations: 1.536 MB / 388.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/0.2463, allocations: 41.62 kB / 388.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.2463, allocations: 4.734 kB / 388.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002819/0.2466, allocations: 80.45 kB / 388.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.2466, allocations: 85.89 kB / 388.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.565e-05/0.2467, allocations: 107.6 kB / 388.7 MB, free: 5.324 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.2467, allocations: 28.33 kB / 388.7 MB, free: 5.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.623e-05/0.2468, allocations: 85.55 kB / 388.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.2468, allocations: 19 kB / 388.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.483e-05/0.2468, allocations: 21.31 kB / 388.8 MB, free: 5.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.532e-05/0.2469, allocations: 317.9 kB / 389.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.662e-05/0.2469, allocations: 18.12 kB / 389.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/0.247, allocations: 36.33 kB / 389.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.2471, allocations: 57.06 kB / 389.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2471, allocations: 0 / 389.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000177/0.2473, allocations: 91.41 kB / 389.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.2473, allocations: 9.266 kB / 389.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2473, allocations: 5.188 kB / 389.4 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2474, allocations: 2.594 kB / 389.4 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.2474, allocations: 15.59 kB / 389.4 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2474, allocations: 4.312 kB / 389.4 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.2475, allocations: 6.766 kB / 389.4 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.2475, allocations: 3.766 kB / 389.4 MB, free: 4.727 MB / 318.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 4.131e-05/0.2476, allocations: 116.6 kB / 389.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.2476, allocations: 11.92 kB / 389.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.2479, allocations: 115.8 kB / 389.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2479, allocations: 1.125 kB / 389.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2479, allocations: 1.031 kB / 389.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2479, allocations: 5.922 kB / 389.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.53e-05/0.248, allocations: 184.2 kB / 389.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.248, allocations: 0 / 389.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.54e-05/0.2481, allocations: 16.05 kB / 389.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.2481, allocations: 5.812 kB / 389.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2481, allocations: 6.625 kB / 389.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2482, allocations: 0 / 389.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2482, allocations: 3.203 kB / 389.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.2484, allocations: 139.2 kB / 390 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.2485, allocations: 96.09 kB / 390.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.2485, allocations: 3.969 kB / 390.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.2485, allocations: 1.734 kB / 390.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.2486, allocations: 6.672 kB / 390.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.2486, allocations: 2.766 kB / 390.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.425e-05/0.2486, allocations: 89.23 kB / 390.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2486, allocations: 0 / 390.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000459/0.2491, allocations: 180 kB / 390.4 MB, free: 3.98 MB / 318.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.000681/0.2498, allocations: 368.8 kB / 390.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.25, allocations: 50.75 kB / 390.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.25, allocations: 1.219 kB / 390.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.001e-05/0.2501, allocations: 32.53 kB / 390.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.2503, allocations: 11.89 kB / 390.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.2507, allocations: 299.2 kB / 391.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.622e-05/0.2508, allocations: 0.6939 MB / 391.8 MB, free: 2.848 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.668e-05/0.2509, allocations: 29.08 kB / 391.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.2509, allocations: 17.75 kB / 391.8 MB, free: 2.832 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.251, allocations: 4 kB / 391.8 MB, free: 2.828 MB / 318.1 MB Notification: Performance of Templates: time 0.007032/0.258, allocations: 3.733 MB / 395.6 MB, free: 2.266 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)