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.009057/0.009057, allocations: 96.16 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.001922/0.001923, allocations: 191.6 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.392/1.392, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.00132/0.00132, allocations: 49.77 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08795, allocations: 46.62 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.002449/0.09044, allocations: 1.354 MB / 374.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009533/0.1, allocations: 7.14 MB / 381.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.1001, allocations: 0 / 381.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.1002, allocations: 11.92 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.001234/0.1014, allocations: 271 kB / 381.9 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.1032, allocations: 0.697 MB / 382.6 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.1033, allocations: 51.67 kB / 382.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.1033, allocations: 7.984 kB / 382.7 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.1035, allocations: 43.84 kB / 382.7 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007018/0.1042, allocations: 367.2 kB / 383.1 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1042, allocations: 4 kB / 383.1 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.1056, allocations: 0.7916 MB / 383.9 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.1056, allocations: 11.97 kB / 383.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.889e-05/0.1057, allocations: 19.88 kB / 383.9 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.1068, allocations: 0.5533 MB / 384.5 MB, free: 5.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1068, allocations: 0 / 384.5 MB, free: 5.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.145e-06/0.1068, allocations: 7.984 kB / 384.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.1068, allocations: 0 / 384.5 MB, free: 5.961 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.0006399/0.1075, allocations: 474.1 kB / 384.9 MB, free: 5.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1075, allocations: 15.89 kB / 385 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.1076, allocations: 4.891 kB / 385 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.1078, allocations: 188.3 kB / 385.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1078, allocations: 4.375 kB / 385.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.1078, allocations: 8.375 kB / 385.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.108, allocations: 75.45 kB / 385.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.108, allocations: 0 / 385.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.108, allocations: 0 / 385.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1081, allocations: 0 / 385.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.1081, allocations: 19.98 kB / 385.2 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.1083, allocations: 174.6 kB / 385.4 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.1087, allocations: 85.12 kB / 385.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.546e-05/0.1087, allocations: 17.78 kB / 385.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.1098, allocations: 1.54 MB / 387.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1098, allocations: 38.44 kB / 387.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1098, allocations: 4 kB / 387.1 MB, free: 2.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002997/0.1101, allocations: 77.66 kB / 387.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.1102, allocations: 81.05 kB / 387.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.1103, allocations: 117.8 kB / 387.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.1103, allocations: 25.7 kB / 387.4 MB, free: 2.465 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.1104, allocations: 92.12 kB / 387.5 MB, free: 2.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.1104, allocations: 15.8 kB / 387.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.1105, allocations: 25.72 kB / 387.5 MB, free: 2.324 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1106, allocations: 318.8 kB / 387.8 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-05/0.1106, allocations: 19.97 kB / 387.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.1107, allocations: 39.42 kB / 387.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.1108, allocations: 59.73 kB / 388 MB, free: 1.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1109, allocations: 0 / 388 MB, free: 1.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001982/0.1111, allocations: 89.48 kB / 388 MB, free: 1.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1111, allocations: 7.938 kB / 388 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1111, allocations: 4.469 kB / 388.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1111, allocations: 0 / 388.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.1112, allocations: 19.92 kB / 388.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1112, allocations: 0 / 388.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.1113, allocations: 12.06 kB / 388.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.1113, allocations: 7.984 kB / 388.1 MB, free: 1.719 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.03e-05/0.1114, allocations: 105.8 kB / 388.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.1114, allocations: 11.89 kB / 388.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.1118, allocations: 129.4 kB / 388.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.1118, allocations: 0 / 388.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1118, allocations: 0 / 388.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1118, allocations: 0 / 388.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.112, allocations: 177.5 kB / 388.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.112, allocations: 0 / 388.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-05/0.1121, allocations: 19.92 kB / 388.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1121, allocations: 0 / 388.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1121, allocations: 4 kB / 388.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1121, allocations: 4 kB / 388.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1121, allocations: 3.984 kB / 388.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.1124, allocations: 145.9 kB / 388.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.1125, allocations: 88.98 kB / 388.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.1125, allocations: 4 kB / 388.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.251e-05/0.1126, allocations: 4 kB / 388.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.1126, allocations: 7.984 kB / 388.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.1126, allocations: 4.062 kB / 388.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.966e-05/0.1127, allocations: 91.27 kB / 388.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1127, allocations: 0 / 388.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005292/0.1132, allocations: 179.4 kB / 389 MB, free: 0.6484 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.0008378/0.1141, allocations: 378.3 kB / 389.4 MB, free: 276 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.1144, allocations: 51.91 kB / 389.5 MB, free: 224 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1144, allocations: 0 / 389.5 MB, free: 224 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.928e-05/0.1145, allocations: 31.92 kB / 389.5 MB, free: 192 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.1147, allocations: 11.94 kB / 389.5 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.1152, allocations: 282.6 kB / 389.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.1154, allocations: 0.6923 MB / 390.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.06e-05/0.1155, allocations: 23.98 kB / 390.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.1155, allocations: 27.36 kB / 390.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1156, allocations: 0 / 390.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of Templates: time 0.007719/0.1233, allocations: 3.722 MB / 394.3 MB, free: 11.38 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)