Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.007462/0.007462, allocations: 103.3 kB / 15.73 MB, free: 6.055 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.001232/0.001232, allocations: 194.8 kB / 16.68 MB, free: 5.965 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.299/1.299, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.001304/0.001304, allocations: 55.91 kB / 326.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08054/0.08185, allocations: 46.62 MB / 373.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002156/0.08405, allocations: 1.349 MB / 374.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1724/0.2565, allocations: 7.147 MB / 381.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.2566, allocations: 0.5625 kB / 381.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.2567, allocations: 1.5 kB / 381.7 MB, free: 8.938 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.001162/0.2578, allocations: 268.5 kB / 381.9 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.2597, allocations: 0.6935 MB / 382.6 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.2598, allocations: 54.8 kB / 382.7 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.2599, allocations: 7.562 kB / 382.7 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.26, allocations: 38.55 kB / 382.7 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006701/0.2607, allocations: 358.8 kB / 383.1 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.2607, allocations: 5.188 kB / 383.1 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.262, allocations: 0.8051 MB / 383.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.2621, allocations: 3.422 kB / 383.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.2621, allocations: 26.22 kB / 383.9 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.2631, allocations: 0.5511 MB / 384.5 MB, free: 8.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2631, allocations: 7.125 kB / 384.5 MB, free: 8.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2632, allocations: 0 / 384.5 MB, free: 8.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.2632, allocations: 0.9375 kB / 384.5 MB, free: 8.383 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.0005918/0.2638, allocations: 459.3 kB / 384.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2638, allocations: 16.73 kB / 384.9 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.2639, allocations: 9.656 kB / 384.9 MB, free: 7.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.264, allocations: 187.3 kB / 385.1 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2641, allocations: 1.469 kB / 385.1 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.2641, allocations: 6.844 kB / 385.1 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.2642, allocations: 65.81 kB / 385.2 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2643, allocations: 0.8906 kB / 385.2 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2643, allocations: 5.125 kB / 385.2 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2643, allocations: 0 / 385.2 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/0.2644, allocations: 24.78 kB / 385.2 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.2645, allocations: 176.2 kB / 385.4 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.2648, allocations: 76.42 kB / 385.5 MB, free: 7.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/0.2648, allocations: 32.5 kB / 385.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006306/0.2655, allocations: 1.535 MB / 387 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.2655, allocations: 41.09 kB / 387.1 MB, free: 5.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.2655, allocations: 0 / 387.1 MB, free: 5.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002963/0.2658, allocations: 81.53 kB / 387.2 MB, free: 5.555 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.2659, allocations: 82.11 kB / 387.2 MB, free: 5.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.756e-05/0.2659, allocations: 114.3 kB / 387.3 MB, free: 5.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.465e-06/0.266, allocations: 25.7 kB / 387.4 MB, free: 5.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.266, allocations: 86.14 kB / 387.5 MB, free: 5.242 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.266, allocations: 25.44 kB / 387.5 MB, free: 5.223 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.2661, allocations: 21.17 kB / 387.5 MB, free: 5.203 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.2661, allocations: 314.7 kB / 387.8 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.933e-05/0.2662, allocations: 18.69 kB / 387.8 MB, free: 4.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.147e-05/0.2662, allocations: 37.98 kB / 387.9 MB, free: 4.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.2664, allocations: 56.09 kB / 387.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2664, allocations: 0.625 kB / 387.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001827/0.2666, allocations: 95.3 kB / 388 MB, free: 4.746 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2666, allocations: 9.641 kB / 388 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2666, allocations: 1.094 kB / 388 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2666, allocations: 2.406 kB / 388 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.2667, allocations: 14.25 kB / 388 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2667, allocations: 5.125 kB / 388 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.2668, allocations: 3.062 kB / 388 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.2668, allocations: 3.172 kB / 388 MB, free: 4.742 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.917e-05/0.2668, allocations: 122.2 kB / 388.2 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.2669, allocations: 14.09 kB / 388.2 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.2672, allocations: 112.7 kB / 388.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.2672, allocations: 1.156 kB / 388.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2672, allocations: 0.75 kB / 388.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.2672, allocations: 6.688 kB / 388.3 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.412e-05/0.2673, allocations: 176.3 kB / 388.5 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2673, allocations: 1.719 kB / 388.5 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.2674, allocations: 11.94 kB / 388.5 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.2674, allocations: 5.25 kB / 388.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.2675, allocations: 5.703 kB / 388.5 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2675, allocations: 1.844 kB / 388.5 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2675, allocations: 2.062 kB / 388.5 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.2677, allocations: 141.4 kB / 388.6 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.2678, allocations: 92.11 kB / 388.7 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.2678, allocations: 6 kB / 388.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.123e-05/0.2679, allocations: 4.797 kB / 388.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.2679, allocations: 5.578 kB / 388.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.2679, allocations: 3.594 kB / 388.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.418e-05/0.268, allocations: 89 kB / 388.8 MB, free: 4.047 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.268, allocations: 0 / 388.8 MB, free: 4.047 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005822/0.2686, allocations: 171.7 kB / 389 MB, free: 4.004 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.0007891/0.2694, allocations: 380.6 kB / 389.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.2696, allocations: 48.34 kB / 389.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2696, allocations: 1.062 kB / 389.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.2697, allocations: 29.05 kB / 389.4 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.2699, allocations: 10.19 kB / 389.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.2703, allocations: 297.8 kB / 389.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.2705, allocations: 0.6943 MB / 390.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.726e-05/0.2705, allocations: 33.36 kB / 390.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.2706, allocations: 16.81 kB / 390.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2706, allocations: 4 kB / 390.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of Templates: time 0.007902/0.2785, allocations: 3.733 MB / 394.2 MB, free: 2.293 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)