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.006205/0.006205, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001153/0.001153, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.327/1.327, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.001266/0.001266, allocations: 47.52 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08135/0.08262, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002548/0.08523, allocations: 1.354 MB / 374.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00847/0.09372, allocations: 7.136 MB / 381.7 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.09383, allocations: 3.938 kB / 381.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.09387, allocations: 3.938 kB / 381.7 MB, free: 8.785 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.09492, allocations: 270.9 kB / 381.9 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.09645, allocations: 0.693 MB / 382.6 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.09656, allocations: 55.67 kB / 382.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.09661, allocations: 7.984 kB / 382.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.09673, allocations: 35.84 kB / 382.7 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006386/0.09738, allocations: 363.2 kB / 383.1 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.0974, allocations: 0 / 383.1 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.09864, allocations: 0.8032 MB / 383.9 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.09868, allocations: 7.984 kB / 383.9 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.09873, allocations: 23.86 kB / 383.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009039/0.09964, allocations: 0.5575 MB / 384.5 MB, free: 5.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.09965, allocations: 0 / 384.5 MB, free: 5.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09966, allocations: 4 kB / 384.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.09967, allocations: 0 / 384.5 MB, free: 5.973 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.0005482/0.1002, allocations: 455.2 kB / 384.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1003, allocations: 11.89 kB / 384.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.1003, allocations: 8.844 kB / 384.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1005, allocations: 188.3 kB / 385.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1005, allocations: 384 / 385.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1006, allocations: 4.375 kB / 385.1 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1007, allocations: 67.52 kB / 385.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1007, allocations: 4 kB / 385.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1008, allocations: 7.938 kB / 385.2 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1008, allocations: 0 / 385.2 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.45e-05/0.1009, allocations: 19.97 kB / 385.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.101, allocations: 174.4 kB / 385.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.1013, allocations: 81.22 kB / 385.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.81e-05/0.1014, allocations: 29.75 kB / 385.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009615/0.1024, allocations: 1.536 MB / 387 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1024, allocations: 46.5 kB / 387.1 MB, free: 2.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1024, allocations: 0 / 387.1 MB, free: 2.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003109/0.1027, allocations: 81.59 kB / 387.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1028, allocations: 77.11 kB / 387.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.1029, allocations: 109.8 kB / 387.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.1029, allocations: 25.7 kB / 387.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.1029, allocations: 92.08 kB / 387.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.103, allocations: 31.62 kB / 387.5 MB, free: 2.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.103, allocations: 21.72 kB / 387.5 MB, free: 2.348 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1032, allocations: 318.8 kB / 387.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-05/0.1032, allocations: 15.94 kB / 387.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.1033, allocations: 35.42 kB / 387.9 MB, free: 1.965 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1034, allocations: 63.34 kB / 387.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1035, allocations: 7.938 kB / 387.9 MB, free: 1.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001886/0.1037, allocations: 85.45 kB / 388 MB, free: 1.793 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1037, allocations: 4 kB / 388 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1037, allocations: 0 / 388 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1037, allocations: 4 kB / 388 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-05/0.1038, allocations: 19.98 kB / 388 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1038, allocations: 8 kB / 388.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.1038, allocations: 4 kB / 388.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1039, allocations: 0 / 388.1 MB, free: 1.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 7.234e-05/0.1039, allocations: 121.8 kB / 388.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.104, allocations: 11.84 kB / 388.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.1043, allocations: 117.5 kB / 388.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.1043, allocations: 4.562 kB / 388.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1043, allocations: 0 / 388.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1044, allocations: 0 / 388.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.1045, allocations: 169.7 kB / 388.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1045, allocations: 0 / 388.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.148e-05/0.1046, allocations: 19.86 kB / 388.5 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1046, allocations: 4 kB / 388.5 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1046, allocations: 4 kB / 388.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1046, allocations: 0 / 388.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1046, allocations: 4 kB / 388.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.1049, allocations: 141.8 kB / 388.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.105, allocations: 89.06 kB / 388.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.105, allocations: 8 kB / 388.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.247e-05/0.1051, allocations: 7.984 kB / 388.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.1051, allocations: 4.062 kB / 388.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1051, allocations: 4 kB / 388.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.112e-05/0.1052, allocations: 99.73 kB / 388.9 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1052, allocations: 0 / 388.9 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004782/0.1057, allocations: 171.8 kB / 389 MB, free: 0.6836 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.0008004/0.1065, allocations: 366.7 kB / 389.4 MB, free: 324 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.1067, allocations: 51.91 kB / 389.4 MB, free: 272 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1067, allocations: 0 / 389.4 MB, free: 272 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.71e-05/0.1068, allocations: 27.97 kB / 389.5 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.107, allocations: 15.88 kB / 389.5 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.1076, allocations: 286.9 kB / 389.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.1078, allocations: 0.6923 MB / 390.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.59e-05/0.1079, allocations: 31.91 kB / 390.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.108, allocations: 19.42 kB / 390.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.108, allocations: 0 / 390.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of Templates: time 0.007203/0.1152, allocations: 3.748 MB / 394.2 MB, free: 11.39 MB / 334.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)