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.007009/0.007009, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001244/0.001244, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.389/1.389, allocations: 205.1 MB / 222.5 MB, free: 4.352 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.001217/0.001217, allocations: 47 kB / 326.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0806/0.08183, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002264/0.08413, allocations: 1.35 MB / 374.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008225/0.09238, allocations: 7.136 MB / 381.6 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.09245, allocations: 0 / 381.6 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.09252, allocations: 3.984 kB / 381.7 MB, free: 8.777 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.001044/0.09357, allocations: 282.9 kB / 381.9 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.09518, allocations: 0.6969 MB / 382.6 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.295e-05/0.09529, allocations: 59.66 kB / 382.7 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.09533, allocations: 7.984 kB / 382.7 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.09544, allocations: 35.86 kB / 382.7 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006556/0.09611, allocations: 363.2 kB / 383.1 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.09613, allocations: 4 kB / 383.1 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.09737, allocations: 0.7916 MB / 383.9 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.0974, allocations: 15.97 kB / 383.9 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.09744, allocations: 19.81 kB / 383.9 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009438/0.09839, allocations: 0.5575 MB / 384.5 MB, free: 5.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.09841, allocations: 4 kB / 384.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.09841, allocations: 0 / 384.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.09842, allocations: 0 / 384.5 MB, free: 5.949 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.0005879/0.09902, allocations: 455.2 kB / 384.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.09906, allocations: 15.89 kB / 384.9 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.09911, allocations: 8.844 kB / 384.9 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.09932, allocations: 192.3 kB / 385.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.09934, allocations: 4.312 kB / 385.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.09936, allocations: 8.375 kB / 385.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.09951, allocations: 71.52 kB / 385.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.09953, allocations: 0 / 385.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.09954, allocations: 0 / 385.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.09955, allocations: 0 / 385.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.283e-05/0.09964, allocations: 19.92 kB / 385.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.09982, allocations: 174.5 kB / 385.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.1001, allocations: 81.19 kB / 385.5 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.1002, allocations: 25.77 kB / 385.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009571/0.1011, allocations: 1.54 MB / 387 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1012, allocations: 38.5 kB / 387.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.1012, allocations: 0 / 387.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002847/0.1015, allocations: 81.59 kB / 387.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.1015, allocations: 77.11 kB / 387.2 MB, free: 2.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.1016, allocations: 109.8 kB / 387.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.1016, allocations: 25.7 kB / 387.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.1017, allocations: 96.12 kB / 387.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.1017, allocations: 27.64 kB / 387.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.1018, allocations: 25.7 kB / 387.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1019, allocations: 318.8 kB / 387.8 MB, free: 2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.379e-05/0.102, allocations: 11.98 kB / 387.8 MB, free: 1.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.46e-05/0.102, allocations: 39.73 kB / 387.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.1022, allocations: 59.36 kB / 387.9 MB, free: 1.867 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1022, allocations: 3.938 kB / 387.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001879/0.1024, allocations: 97.8 kB / 388 MB, free: 1.762 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1024, allocations: 4 kB / 388 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1024, allocations: 7.984 kB / 388 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1024, allocations: 0 / 388 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.1025, allocations: 16.06 kB / 388.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1025, allocations: 160 / 388.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.1026, allocations: 7.984 kB / 388.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.1026, allocations: 4 kB / 388.1 MB, free: 1.723 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 6.83e-05/0.1026, allocations: 113.8 kB / 388.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.1027, allocations: 11.84 kB / 388.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.103, allocations: 125.4 kB / 388.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1031, allocations: 0 / 388.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1031, allocations: 0 / 388.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1031, allocations: 0 / 388.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.1032, allocations: 169.7 kB / 388.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1032, allocations: 4 kB / 388.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.853e-05/0.1033, allocations: 19.92 kB / 388.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1033, allocations: 0 / 388.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1033, allocations: 4 kB / 388.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.1034, allocations: 7.984 kB / 388.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1034, allocations: 4 kB / 388.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.1036, allocations: 145.8 kB / 388.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.1037, allocations: 89.03 kB / 388.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.1037, allocations: 4 kB / 388.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.819e-05/0.1038, allocations: 0 / 388.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.1038, allocations: 12.05 kB / 388.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.1038, allocations: 0 / 388.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.487e-05/0.1039, allocations: 87.28 kB / 388.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1039, allocations: 0 / 388.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004763/0.1044, allocations: 175.8 kB / 389 MB, free: 0.6602 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.0007764/0.1051, allocations: 366.8 kB / 389.4 MB, free: 300 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1054, allocations: 55.89 kB / 389.4 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1054, allocations: 0 / 389.4 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/0.1055, allocations: 31.92 kB / 389.5 MB, free: 212 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.1056, allocations: 15.88 kB / 389.5 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.1062, allocations: 286.9 kB / 389.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.1064, allocations: 0.6923 MB / 390.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.341e-05/0.1065, allocations: 31.91 kB / 390.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.1066, allocations: 15.44 kB / 390.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1066, allocations: 0 / 390.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Templates: time 0.007379/0.1139, allocations: 3.733 MB / 394.2 MB, free: 11.38 MB / 334.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)