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.001109/0.001109, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001214/0.001214, allocations: 196.2 kB / 16.14 MB, free: 6.719 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.316/1.316, allocations: 205.1 MB / 222 MB, free: 4.742 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.001384/0.001385, allocations: 47.94 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2025, allocations: 46.63 MB / 324.7 MB, free: 2.059 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002283/0.2048, allocations: 1.422 MB / 326.1 MB, free: 0.9258 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00837/0.2132, allocations: 7.285 MB / 333.4 MB, free: 11.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.2133, allocations: 3.938 kB / 333.4 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.2133, allocations: 3.984 kB / 333.4 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009659/0.2143, allocations: 245.6 kB / 333.6 MB, free: 11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.2157, allocations: 0.5831 MB / 334.2 MB, free: 10.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.87e-05/0.2158, allocations: 53.03 kB / 334.3 MB, free: 10.6 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.167e-05/0.2159, allocations: 3.469 kB / 334.3 MB, free: 10.6 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.216, allocations: 37.31 kB / 334.3 MB, free: 10.58 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007555/0.2168, allocations: 410.9 kB / 334.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.2168, allocations: 0 / 334.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.2179, allocations: 0.7251 MB / 335.4 MB, free: 9.488 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.2179, allocations: 11.92 kB / 335.4 MB, free: 9.477 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.218, allocations: 19.92 kB / 335.5 MB, free: 9.457 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008344/0.2188, allocations: 0.5783 MB / 336 MB, free: 8.879 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2188, allocations: 0 / 336 MB, free: 8.879 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2188, allocations: 0 / 336 MB, free: 8.879 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.2188, allocations: 0 / 336 MB, free: 8.879 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.0005703/0.2194, allocations: 463.2 kB / 336.5 MB, free: 8.379 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2195, allocations: 12.03 kB / 336.5 MB, free: 8.367 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.2195, allocations: 4.844 kB / 336.5 MB, free: 8.363 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.2197, allocations: 192.2 kB / 336.7 MB, free: 8.137 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.2198, allocations: 8.375 kB / 336.7 MB, free: 8.129 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.2198, allocations: 4.375 kB / 336.7 MB, free: 8.125 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.22, allocations: 63.52 kB / 336.8 MB, free: 8.051 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.22, allocations: 3.938 kB / 336.8 MB, free: 8.047 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.22, allocations: 0 / 336.8 MB, free: 8.047 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.22, allocations: 4 kB / 336.8 MB, free: 8.043 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.514e-05/0.2201, allocations: 23.97 kB / 336.8 MB, free: 8.02 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.2203, allocations: 170.6 kB / 337 MB, free: 7.801 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.2206, allocations: 85.16 kB / 337 MB, free: 7.699 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.755e-05/0.2207, allocations: 21.77 kB / 337.1 MB, free: 7.672 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009661/0.2217, allocations: 1.54 MB / 338.6 MB, free: 5.781 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.2217, allocations: 46.38 kB / 338.7 MB, free: 5.727 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.2217, allocations: 0 / 338.7 MB, free: 5.727 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.000315/0.222, allocations: 81.59 kB / 338.7 MB, free: 5.641 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.2221, allocations: 77.11 kB / 338.8 MB, free: 5.547 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.317e-05/0.2222, allocations: 117.8 kB / 338.9 MB, free: 5.422 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.2222, allocations: 25.7 kB / 338.9 MB, free: 5.391 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.2222, allocations: 92.14 kB / 339 MB, free: 5.297 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.2223, allocations: 19.64 kB / 339.1 MB, free: 5.277 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.2223, allocations: 21.72 kB / 339.1 MB, free: 5.25 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.2224, allocations: 322.8 kB / 339.4 MB, free: 4.926 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.945e-05/0.2225, allocations: 12 kB / 339.4 MB, free: 4.914 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.877e-05/0.2226, allocations: 43.41 kB / 339.4 MB, free: 4.859 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.2227, allocations: 63.34 kB / 339.5 MB, free: 4.785 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2227, allocations: 0 / 339.5 MB, free: 4.785 MB / 270.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000188/0.2229, allocations: 85.45 kB / 339.6 MB, free: 4.695 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2229, allocations: 4 kB / 339.6 MB, free: 4.691 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2229, allocations: 4 kB / 339.6 MB, free: 4.688 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.223, allocations: 4.062 kB / 339.6 MB, free: 4.684 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.87e-05/0.223, allocations: 15.98 kB / 339.6 MB, free: 4.668 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.223, allocations: 3.938 kB / 339.6 MB, free: 4.664 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.2231, allocations: 8 kB / 339.6 MB, free: 4.656 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.2231, allocations: 4 kB / 339.6 MB, free: 4.652 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.939e-05/0.2232, allocations: 113.8 kB / 339.7 MB, free: 4.531 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.2232, allocations: 7.844 kB / 339.8 MB, free: 4.523 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.2236, allocations: 129.9 kB / 339.9 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.2236, allocations: 0 / 339.9 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2236, allocations: 0 / 339.9 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2236, allocations: 0 / 339.9 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.2238, allocations: 169.7 kB / 340 MB, free: 4.18 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2238, allocations: 48 / 340 MB, free: 4.18 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.2239, allocations: 27.84 kB / 340.1 MB, free: 4.152 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2239, allocations: 0 / 340.1 MB, free: 4.152 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.2239, allocations: 4 kB / 340.1 MB, free: 4.148 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2239, allocations: 4 kB / 340.1 MB, free: 4.145 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2239, allocations: 0 / 340.1 MB, free: 4.145 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.2242, allocations: 137.9 kB / 340.2 MB, free: 3.988 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.2243, allocations: 100.8 kB / 340.3 MB, free: 3.871 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.2243, allocations: 4 kB / 340.3 MB, free: 3.867 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.501e-05/0.2243, allocations: 12.05 kB / 340.3 MB, free: 3.855 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.2244, allocations: 4 kB / 340.3 MB, free: 3.852 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.2244, allocations: 11.88 kB / 340.3 MB, free: 3.84 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.592e-05/0.2245, allocations: 87.27 kB / 340.4 MB, free: 3.754 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2245, allocations: 4 kB / 340.4 MB, free: 3.75 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004569/0.2249, allocations: 167.9 kB / 340.6 MB, free: 3.586 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.0007485/0.2257, allocations: 365.7 kB / 341 MB, free: 3.223 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.2259, allocations: 47.89 kB / 341 MB, free: 3.176 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2259, allocations: 4 kB / 341 MB, free: 3.172 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.557e-05/0.226, allocations: 27.98 kB / 341 MB, free: 3.145 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.2262, allocations: 12.5 kB / 341 MB, free: 3.133 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.2267, allocations: 300.6 kB / 341.3 MB, free: 2.812 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.2269, allocations: 0.6848 MB / 342 MB, free: 2.102 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.346e-05/0.227, allocations: 35.75 kB / 342.1 MB, free: 2.066 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.2271, allocations: 23.42 kB / 342.1 MB, free: 2.043 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2271, allocations: 0 / 342.1 MB, free: 2.043 MB / 270.1 MB Notification: Performance of Templates: time 0.006961/0.234, allocations: 3.679 MB / 345.8 MB, free: 14.36 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)