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.001368/0.001368, allocations: 112.8 kB / 17.06 MB, free: 5.996 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.001616/0.001616, allocations: 198.9 kB / 18 MB, free: 5.078 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.333/1.333, allocations: 205.1 MB / 223.9 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.001177/0.001177, allocations: 48.41 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0803/0.08149, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002348/0.08387, allocations: 1.353 MB / 375.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1686/0.2525, allocations: 7.15 MB / 383 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.2526, allocations: 1.375 kB / 383 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.2527, 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.001022/0.2537, allocations: 271.1 kB / 383.2 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.2556, allocations: 0.6871 MB / 383.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.2557, allocations: 60.03 kB / 384 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.2558, allocations: 8.234 kB / 384 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.2559, allocations: 36.84 kB / 384 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008483/0.2568, allocations: 357.2 kB / 384.4 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.2568, allocations: 5.344 kB / 384.4 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.2583, allocations: 0.8008 MB / 385.2 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.2583, allocations: 6.547 kB / 385.2 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.2583, allocations: 26.2 kB / 385.2 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.2594, allocations: 0.552 MB / 385.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2594, allocations: 0 / 385.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2594, allocations: 4.828 kB / 385.8 MB, free: 8.367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2594, allocations: 1.156 kB / 385.8 MB, free: 8.367 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.0005021/0.2599, allocations: 462.7 kB / 386.2 MB, free: 7.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2599, allocations: 13.36 kB / 386.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.26, allocations: 7.672 kB / 386.3 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.2601, allocations: 183.8 kB / 386.4 MB, free: 7.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.2602, allocations: 6.312 kB / 386.4 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.2602, allocations: 3.219 kB / 386.4 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.2603, allocations: 70.47 kB / 386.5 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2604, allocations: 3.938 kB / 386.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.2604, allocations: 4.797 kB / 386.5 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2604, allocations: 1.844 kB / 386.5 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.429e-05/0.2605, allocations: 22.81 kB / 386.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.2606, allocations: 172.4 kB / 386.7 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.2609, allocations: 83.88 kB / 386.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.528e-05/0.2609, allocations: 22.78 kB / 386.8 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/0.2616, allocations: 1.547 MB / 388.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.2617, allocations: 36.55 kB / 388.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2617, allocations: 0 / 388.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003032/0.262, allocations: 83.56 kB / 388.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.262, allocations: 78.86 kB / 388.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.481e-05/0.2621, allocations: 110.2 kB / 388.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.2621, allocations: 28.98 kB / 388.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.468e-05/0.2621, allocations: 84.78 kB / 388.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.2622, allocations: 23.14 kB / 388.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.2622, allocations: 21.39 kB / 388.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.2623, allocations: 318.4 kB / 389.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.873e-05/0.2623, allocations: 15.19 kB / 389.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.2624, allocations: 36.27 kB / 389.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.2625, allocations: 58.83 kB / 389.2 MB, free: 4.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2626, allocations: 1.312 kB / 389.2 MB, free: 4.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001821/0.2627, allocations: 92.39 kB / 389.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2628, allocations: 10.53 kB / 389.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2628, allocations: 3.375 kB / 389.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2628, allocations: 1.188 kB / 389.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.709e-05/0.2629, allocations: 15.05 kB / 389.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2629, allocations: 4.547 kB / 389.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.2629, allocations: 2.844 kB / 389.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.2629, allocations: 8.031 kB / 389.4 MB, free: 4.754 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.735e-05/0.263, allocations: 112.7 kB / 389.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.263, allocations: 11.86 kB / 389.5 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.2634, allocations: 121 kB / 389.6 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.2634, allocations: 2.203 kB / 389.6 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2634, allocations: 1.125 kB / 389.6 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2634, allocations: 5.094 kB / 389.6 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.563e-05/0.2635, allocations: 171.8 kB / 389.8 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.2635, allocations: 4.703 kB / 389.8 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/0.2636, allocations: 10.95 kB / 389.8 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2636, allocations: 5.062 kB / 389.8 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2636, allocations: 3.094 kB / 389.8 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.2637, allocations: 5.875 kB / 389.8 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2637, allocations: 0.8906 kB / 389.8 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.2639, allocations: 145.9 kB / 390 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.264, allocations: 96.3 kB / 390.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.264, allocations: 1.859 kB / 390.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.063e-05/0.2641, allocations: 4.938 kB / 390.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.2641, allocations: 9.266 kB / 390.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.2641, allocations: 2.938 kB / 390.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.575e-05/0.2642, allocations: 89.83 kB / 390.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2642, allocations: 4.062 kB / 390.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005257/0.2647, allocations: 171.8 kB / 390.3 MB, free: 4.012 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.0007454/0.2654, allocations: 364.2 kB / 390.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.2656, allocations: 49.06 kB / 390.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2657, allocations: 4.125 kB / 390.7 MB, free: 3.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.637e-05/0.2657, allocations: 36.77 kB / 390.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.2659, allocations: 11.05 kB / 390.8 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.2664, allocations: 295.6 kB / 391.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.2665, allocations: 0.693 MB / 391.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.779e-05/0.2665, allocations: 29 kB / 391.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.2666, allocations: 21.66 kB / 391.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2666, allocations: 0 / 391.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of Templates: time 0.007371/0.274, allocations: 3.757 MB / 395.6 MB, free: 2.293 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)