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.001192/0.001192, allocations: 102.4 kB / 16.5 MB, free: 6.648 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.001182/0.001182, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.318/1.318, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.001247/0.001247, allocations: 51.92 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0812/0.08246, allocations: 46.62 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002279/0.08478, allocations: 1.41 MB / 327.4 MB, free: 3.461 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007726/0.09252, allocations: 7.306 MB / 334.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.09257, allocations: 0 / 334.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.09262, allocations: 3.938 kB / 334.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008311/0.09346, allocations: 239.2 kB / 334.9 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.09471, allocations: 0.592 MB / 335.5 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.421e-05/0.09479, allocations: 51.73 kB / 335.5 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.253e-05/0.09483, allocations: 11.98 kB / 335.6 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.09493, allocations: 35.84 kB / 335.6 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006773/0.09562, allocations: 407.1 kB / 336 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.09564, allocations: 4 kB / 336 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.09667, allocations: 0.7212 MB / 336.7 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.0967, allocations: 11.92 kB / 336.7 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.09673, allocations: 15.94 kB / 336.7 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007859/0.09752, allocations: 0.5772 MB / 337.3 MB, free: 9.453 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.09754, allocations: 0 / 337.3 MB, free: 9.453 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.09755, allocations: 4 kB / 337.3 MB, free: 9.449 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.09755, allocations: 0 / 337.3 MB, free: 9.449 MB / 286.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.0005529/0.09811, allocations: 467.1 kB / 337.8 MB, free: 8.945 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.09817, allocations: 8.031 kB / 337.8 MB, free: 8.938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.09821, allocations: 8.938 kB / 337.8 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.09841, allocations: 184.2 kB / 338 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.09843, allocations: 4.375 kB / 338 MB, free: 8.707 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.09846, allocations: 384 / 338 MB, free: 8.707 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.09862, allocations: 71.45 kB / 338.1 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.09864, allocations: 4 kB / 338.1 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.09865, allocations: 0 / 338.1 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-06/0.09866, allocations: 4 kB / 338.1 MB, free: 8.617 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.149e-05/0.09875, allocations: 11.98 kB / 338.1 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.09894, allocations: 170.6 kB / 338.2 MB, free: 8.387 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.09923, allocations: 93.05 kB / 338.3 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.8e-05/0.09931, allocations: 25.77 kB / 338.4 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009757/0.1003, allocations: 1.54 MB / 339.9 MB, free: 6.355 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1003, allocations: 38.44 kB / 339.9 MB, free: 6.309 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1003, allocations: 4 kB / 339.9 MB, free: 6.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003043/0.1006, allocations: 81.56 kB / 340 MB, free: 6.219 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.1007, allocations: 85.05 kB / 340.1 MB, free: 6.117 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.1008, allocations: 105.8 kB / 340.2 MB, free: 6.004 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1009, allocations: 29.7 kB / 340.2 MB, free: 5.969 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.1009, allocations: 88.12 kB / 340.3 MB, free: 5.879 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.101, allocations: 23.66 kB / 340.3 MB, free: 5.855 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.101, allocations: 21.7 kB / 340.4 MB, free: 5.828 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1012, allocations: 314.8 kB / 340.7 MB, free: 5.512 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.1012, allocations: 19.92 kB / 340.7 MB, free: 5.492 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.1013, allocations: 39.42 kB / 340.7 MB, free: 5.441 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1014, allocations: 59.36 kB / 340.8 MB, free: 5.371 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1015, allocations: 4 kB / 340.8 MB, free: 5.367 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001869/0.1017, allocations: 89.53 kB / 340.9 MB, free: 5.273 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1017, allocations: 8 kB / 340.9 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1017, allocations: 0 / 340.9 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1017, allocations: 0 / 340.9 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/0.1018, allocations: 15.94 kB / 340.9 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1018, allocations: 4.469 kB / 340.9 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.1018, allocations: 3.984 kB / 340.9 MB, free: 5.242 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.1019, allocations: 4 kB / 340.9 MB, free: 5.238 MB / 286.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.474e-05/0.1019, allocations: 117.9 kB / 341 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.102, allocations: 7.844 kB / 341 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.1023, allocations: 121.9 kB / 341.2 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.1024, allocations: 0 / 341.2 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1024, allocations: 0 / 341.2 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1024, allocations: 11.98 kB / 341.2 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.1025, allocations: 173.5 kB / 341.3 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1025, allocations: 4 kB / 341.3 MB, free: 4.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.063e-05/0.1026, allocations: 15.97 kB / 341.4 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1026, allocations: 3.984 kB / 341.4 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1027, allocations: 8 kB / 341.4 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1027, allocations: 3.938 kB / 341.4 MB, free: 4.719 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1027, allocations: 0 / 341.4 MB, free: 4.719 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.103, allocations: 145.9 kB / 341.5 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.103, allocations: 96.97 kB / 341.6 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1031, allocations: 0 / 341.6 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.1031, allocations: 0 / 341.6 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.1032, allocations: 7.984 kB / 341.6 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1032, allocations: 4 kB / 341.6 MB, free: 4.43 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.512e-05/0.1032, allocations: 91.27 kB / 341.7 MB, free: 4.34 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1032, allocations: 4.062 kB / 341.7 MB, free: 4.336 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004693/0.1037, allocations: 163.9 kB / 341.9 MB, free: 4.176 MB / 286.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.0007152/0.1044, allocations: 378.5 kB / 342.2 MB, free: 3.805 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.1046, allocations: 47.91 kB / 342.3 MB, free: 3.758 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.1046, allocations: 4.125 kB / 342.3 MB, free: 3.754 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.154e-05/0.1047, allocations: 31.86 kB / 342.3 MB, free: 3.723 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.1049, allocations: 15.92 kB / 342.3 MB, free: 3.707 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.1054, allocations: 300.3 kB / 342.6 MB, free: 3.387 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.1057, allocations: 0.6887 MB / 343.3 MB, free: 2.672 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.616e-05/0.1057, allocations: 31.75 kB / 343.4 MB, free: 2.641 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.1058, allocations: 19.38 kB / 343.4 MB, free: 2.621 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1058, allocations: 0 / 343.4 MB, free: 2.621 MB / 286.1 MB Notification: Performance of Templates: time 0.006828/0.1126, allocations: 3.687 MB / 347.1 MB, free: 14.93 MB / 302.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)