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.008304/0.008304, allocations: 103.7 kB / 15.74 MB, free: 6.039 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.001798/0.001798, allocations: 196.5 kB / 16.68 MB, free: 5.953 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.361/1.361, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001167/0.001167, allocations: 49.77 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08285/0.08402, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002291/0.08636, allocations: 1.35 MB / 374.5 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007991/0.09437, allocations: 7.133 MB / 381.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.09446, allocations: 0 / 381.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.09454, allocations: 11.86 kB / 381.7 MB, free: 8.766 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.0009391/0.09549, allocations: 275 kB / 381.9 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.09692, allocations: 0.6853 MB / 382.6 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.288e-05/0.09702, allocations: 55.66 kB / 382.7 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.09707, allocations: 7.984 kB / 382.7 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.09717, allocations: 35.84 kB / 382.7 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006025/0.09779, allocations: 367.2 kB / 383.1 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.09781, allocations: 4 kB / 383.1 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.09895, allocations: 0.7955 MB / 383.9 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.09898, allocations: 11.97 kB / 383.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.09902, allocations: 19.88 kB / 383.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007583/0.09978, allocations: 0.5574 MB / 384.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.0998, allocations: 0 / 384.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09981, allocations: 4 kB / 384.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.09982, allocations: 0 / 384.5 MB, free: 5.957 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.0005262/0.1004, allocations: 459.2 kB / 384.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1004, allocations: 15.89 kB / 384.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.1004, allocations: 8.828 kB / 384.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.1006, allocations: 180.4 kB / 385.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1006, allocations: 384 / 385.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.1007, allocations: 4.375 kB / 385.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1008, allocations: 79.45 kB / 385.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1009, allocations: 0 / 385.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.1009, allocations: 0 / 385.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1009, allocations: 4 kB / 385.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.367e-05/0.101, allocations: 19.98 kB / 385.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.1012, allocations: 174.5 kB / 385.4 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.1014, allocations: 81.12 kB / 385.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/0.1015, allocations: 21.78 kB / 385.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009769/0.1025, allocations: 1.54 MB / 387 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.1025, allocations: 42.44 kB / 387.1 MB, free: 2.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1025, allocations: 0 / 387.1 MB, free: 2.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002807/0.1028, allocations: 81.64 kB / 387.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1029, allocations: 81.05 kB / 387.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/0.103, allocations: 117.8 kB / 387.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.103, allocations: 25.7 kB / 387.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.103, allocations: 84.14 kB / 387.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.1031, allocations: 31.58 kB / 387.5 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.1031, allocations: 25.72 kB / 387.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1032, allocations: 318.8 kB / 387.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.859e-05/0.1033, allocations: 11.98 kB / 387.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.1034, allocations: 39.42 kB / 387.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.1036, allocations: 63.36 kB / 387.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1036, allocations: 3.938 kB / 387.9 MB, free: 1.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001937/0.1038, allocations: 85.45 kB / 388 MB, free: 1.777 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1038, allocations: 4 kB / 388 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1038, allocations: 0 / 388 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1038, allocations: 4 kB / 388 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/0.1039, allocations: 19.92 kB / 388 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1039, allocations: 4.062 kB / 388 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.104, allocations: 4 kB / 388.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.104, allocations: 7.984 kB / 388.1 MB, free: 1.734 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 7.208e-05/0.1041, allocations: 113.8 kB / 388.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.1041, allocations: 11.84 kB / 388.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.1045, allocations: 125.4 kB / 388.3 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1045, allocations: 4 kB / 388.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1045, allocations: 0 / 388.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1045, allocations: 0 / 388.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1046, allocations: 169.7 kB / 388.5 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1046, allocations: 0 / 388.5 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.054e-05/0.1047, allocations: 19.92 kB / 388.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1047, allocations: 0 / 388.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1047, allocations: 0 / 388.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1048, allocations: 4 kB / 388.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1048, allocations: 0 / 388.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.1051, allocations: 146.3 kB / 388.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.1051, allocations: 97.06 kB / 388.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.1052, allocations: 4 kB / 388.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.127e-05/0.1052, allocations: 0 / 388.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.1053, allocations: 11.98 kB / 388.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1053, allocations: 8.047 kB / 388.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.992e-05/0.1054, allocations: 91.81 kB / 388.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1054, allocations: 0 / 388.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004803/0.1058, allocations: 171.8 kB / 389 MB, free: 0.668 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.000731/0.1066, allocations: 370.6 kB / 389.4 MB, free: 304 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.1068, allocations: 51.91 kB / 389.4 MB, free: 252 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1068, allocations: 0 / 389.4 MB, free: 252 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.1069, allocations: 35.92 kB / 389.5 MB, free: 216 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.1071, allocations: 11.94 kB / 389.5 MB, free: 204 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.1076, allocations: 286.8 kB / 389.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.1078, allocations: 0.6845 MB / 390.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.896e-05/0.1079, allocations: 31.97 kB / 390.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.1079, allocations: 23.36 kB / 390.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.108, allocations: 0 / 390.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of Templates: time 0.007107/0.1151, allocations: 3.725 MB / 394.2 MB, free: 11.4 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)