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.001344/0.001344, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00174/0.00174, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.379/1.379, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.001209/0.001209, allocations: 43.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1862, allocations: 46.62 MB / 324.8 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001925/0.1882, allocations: 1.426 MB / 326.3 MB, free: 0.7969 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.007403/0.1956, allocations: 7.101 MB / 333.4 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.1957, allocations: 3.938 kB / 333.4 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.1957, allocations: 7.938 kB / 333.4 MB, free: 11.1 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008468/0.1966, allocations: 249.7 kB / 333.6 MB, free: 10.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.1979, allocations: 0.6364 MB / 334.3 MB, free: 10.56 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.676e-05/0.198, allocations: 57.56 kB / 334.3 MB, free: 10.53 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.1981, allocations: 2.219 kB / 334.3 MB, free: 10.53 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.961e-05/0.1982, allocations: 38.31 kB / 334.4 MB, free: 10.51 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006374/0.1988, allocations: 414.5 kB / 334.8 MB, free: 10.14 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1988, allocations: 4 kB / 334.8 MB, free: 10.14 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009707/0.1998, allocations: 0.729 MB / 335.5 MB, free: 9.41 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.1998, allocations: 19.91 kB / 335.5 MB, free: 9.391 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.1999, allocations: 15.94 kB / 335.5 MB, free: 9.375 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007513/0.2006, allocations: 0.573 MB / 336.1 MB, free: 8.801 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2006, allocations: 0 / 336.1 MB, free: 8.801 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2006, allocations: 3.984 kB / 336.1 MB, free: 8.797 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.2007, allocations: 0 / 336.1 MB, free: 8.797 MB / 270.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.0005314/0.2012, allocations: 463.2 kB / 336.6 MB, free: 8.297 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2012, allocations: 11.89 kB / 336.6 MB, free: 8.285 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.2013, allocations: 8.844 kB / 336.6 MB, free: 8.277 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.2015, allocations: 196.2 kB / 336.8 MB, free: 8.047 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2015, allocations: 384 / 336.8 MB, free: 8.047 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.2015, allocations: 8.375 kB / 336.8 MB, free: 8.039 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.2017, allocations: 67.45 kB / 336.8 MB, free: 7.961 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2017, allocations: 0 / 336.8 MB, free: 7.961 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.2017, allocations: 0 / 336.8 MB, free: 7.961 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2017, allocations: 0 / 336.8 MB, free: 7.961 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/0.2018, allocations: 19.98 kB / 336.9 MB, free: 7.941 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.202, allocations: 174.6 kB / 337 MB, free: 7.719 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.2022, allocations: 73.19 kB / 337.1 MB, free: 7.629 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.279e-05/0.2023, allocations: 29.66 kB / 337.1 MB, free: 7.594 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009141/0.2032, allocations: 1.544 MB / 338.7 MB, free: 5.699 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.2033, allocations: 34.5 kB / 338.7 MB, free: 5.656 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2033, allocations: 0 / 338.7 MB, free: 5.656 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002746/0.2035, allocations: 89.52 kB / 338.8 MB, free: 5.562 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.2036, allocations: 77.11 kB / 338.9 MB, free: 5.469 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.2037, allocations: 117.8 kB / 339 MB, free: 5.344 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.2037, allocations: 29.7 kB / 339 MB, free: 5.309 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.2038, allocations: 84.12 kB / 339.1 MB, free: 5.223 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.2038, allocations: 23.66 kB / 339.1 MB, free: 5.199 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.2038, allocations: 21.72 kB / 339.1 MB, free: 5.172 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.204, allocations: 318.8 kB / 339.5 MB, free: 4.852 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.646e-05/0.204, allocations: 15.98 kB / 339.5 MB, free: 4.836 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.2041, allocations: 43.41 kB / 339.5 MB, free: 4.781 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.2042, allocations: 59.36 kB / 339.6 MB, free: 4.711 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2042, allocations: 0 / 339.6 MB, free: 4.711 MB / 270.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001841/0.2044, allocations: 85.45 kB / 339.7 MB, free: 4.621 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2045, allocations: 4 kB / 339.7 MB, free: 4.617 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2045, allocations: 4.062 kB / 339.7 MB, free: 4.613 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2045, allocations: 4 kB / 339.7 MB, free: 4.609 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.2046, allocations: 19.92 kB / 339.7 MB, free: 4.59 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2046, allocations: 480 / 339.7 MB, free: 4.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.2046, allocations: 4 kB / 339.7 MB, free: 4.586 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.2046, allocations: 11.98 kB / 339.7 MB, free: 4.574 MB / 270.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.299e-05/0.2047, allocations: 105.8 kB / 339.8 MB, free: 4.461 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.2047, allocations: 15.84 kB / 339.8 MB, free: 4.445 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003388/0.2051, allocations: 121.5 kB / 339.9 MB, free: 4.324 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2051, allocations: 4 kB / 339.9 MB, free: 4.32 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2051, allocations: 0 / 339.9 MB, free: 4.32 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2051, allocations: 0 / 339.9 MB, free: 4.32 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.2052, allocations: 169.7 kB / 340.1 MB, free: 4.105 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2053, allocations: 3.938 kB / 340.1 MB, free: 4.102 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.2053, allocations: 19.92 kB / 340.1 MB, free: 4.082 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2054, allocations: 4 kB / 340.1 MB, free: 4.078 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.2054, allocations: 0 / 340.1 MB, free: 4.078 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2054, allocations: 0 / 340.1 MB, free: 4.078 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2054, allocations: 8.5 kB / 340.1 MB, free: 4.07 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.2056, allocations: 137.8 kB / 340.3 MB, free: 3.914 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.2057, allocations: 100.9 kB / 340.4 MB, free: 3.797 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.2057, allocations: 8 kB / 340.4 MB, free: 3.789 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.183e-05/0.2058, allocations: 4 kB / 340.4 MB, free: 3.785 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.2058, allocations: 15.97 kB / 340.4 MB, free: 3.77 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.2058, allocations: 0 / 340.4 MB, free: 3.77 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.303e-05/0.2059, allocations: 87.28 kB / 340.5 MB, free: 3.684 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2059, allocations: 3.938 kB / 340.5 MB, free: 3.68 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004236/0.2063, allocations: 167.9 kB / 340.7 MB, free: 3.516 MB / 270.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.0007113/0.207, allocations: 373.8 kB / 341 MB, free: 3.145 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.2072, allocations: 47.91 kB / 341.1 MB, free: 3.098 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2072, allocations: 0 / 341.1 MB, free: 3.098 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.441e-05/0.2073, allocations: 31.92 kB / 341.1 MB, free: 3.066 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.2075, allocations: 15.88 kB / 341.1 MB, free: 3.051 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.208, allocations: 308 kB / 341.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2083, allocations: 0.6924 MB / 342.1 MB, free: 2.004 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.586e-05/0.2083, allocations: 31.69 kB / 342.1 MB, free: 1.973 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.2084, allocations: 23.38 kB / 342.2 MB, free: 1.949 MB / 270.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2084, allocations: 0 / 342.2 MB, free: 1.949 MB / 270.1 MB Notification: Performance of Templates: time 0.006826/0.2152, allocations: 3.718 MB / 345.9 MB, free: 14.22 MB / 286.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)