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.0008704/0.0008703, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.006295/0.006295, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.4 MB / 222.4 MB, free: 5.57 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.0004181/0.0004181, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2033, allocations: 47.59 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001142/0.2045, allocations: 1.083 MB / 328.1 MB, free: 0.5234 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.008766/0.2133, allocations: 7.174 MB / 335.3 MB, free: 10.85 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.2133, allocations: 1.281 kB / 335.3 MB, free: 10.85 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.2133, allocations: 7.875 kB / 335.3 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009036/0.2143, allocations: 242.3 kB / 335.5 MB, free: 10.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.2157, allocations: 0.5818 MB / 336.1 MB, free: 10.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.51e-05/0.2158, allocations: 51.72 kB / 336.2 MB, free: 10.21 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.2158, allocations: 7.984 kB / 336.2 MB, free: 10.21 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.216, allocations: 39.84 kB / 336.2 MB, free: 10.17 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007092/0.2167, allocations: 399.1 kB / 336.6 MB, free: 9.777 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.2167, allocations: 4 kB / 336.6 MB, free: 9.773 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.2178, allocations: 0.7212 MB / 337.3 MB, free: 9.051 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.2178, allocations: 19.91 kB / 337.3 MB, free: 9.031 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.2179, allocations: 41.64 kB / 337.4 MB, free: 8.984 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007921/0.2187, allocations: 0.5744 MB / 338 MB, free: 8.41 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2187, allocations: 0 / 338 MB, free: 8.41 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2187, allocations: 0 / 338 MB, free: 8.41 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.2187, allocations: 0 / 338 MB, free: 8.41 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.0005328/0.2192, allocations: 451.2 kB / 338.4 MB, free: 7.922 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2193, allocations: 12.03 kB / 338.4 MB, free: 7.91 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.2193, allocations: 12.83 kB / 338.4 MB, free: 7.898 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.2195, allocations: 192.3 kB / 338.6 MB, free: 7.672 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.2196, allocations: 8.375 kB / 338.6 MB, free: 7.664 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.2196, allocations: 8.312 kB / 338.6 MB, free: 7.656 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.2197, allocations: 63.52 kB / 338.7 MB, free: 7.582 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.2197, allocations: 0 / 338.7 MB, free: 7.582 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.2197, allocations: 0 / 338.7 MB, free: 7.582 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2198, allocations: 0 / 338.7 MB, free: 7.582 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.2198, allocations: 23.92 kB / 338.7 MB, free: 7.559 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.22, allocations: 178.4 kB / 338.9 MB, free: 7.332 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.2203, allocations: 81.27 kB / 339 MB, free: 7.234 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.357e-05/0.2204, allocations: 17.78 kB / 339 MB, free: 7.211 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.2214, allocations: 1.54 MB / 340.5 MB, free: 5.32 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.2215, allocations: 46.44 kB / 340.6 MB, free: 5.266 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.2215, allocations: 3.938 kB / 340.6 MB, free: 5.262 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002746/0.2217, allocations: 77.59 kB / 340.6 MB, free: 5.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.2218, allocations: 81.11 kB / 340.7 MB, free: 5.082 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/0.2219, allocations: 109.8 kB / 340.8 MB, free: 4.965 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2219, allocations: 25.7 kB / 340.9 MB, free: 4.934 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.222, allocations: 92.14 kB / 340.9 MB, free: 4.84 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.222, allocations: 23.64 kB / 341 MB, free: 4.816 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.222, allocations: 13.72 kB / 341 MB, free: 4.797 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2222, allocations: 322.8 kB / 341.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.477e-05/0.2222, allocations: 8 kB / 341.3 MB, free: 4.465 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/0.2223, allocations: 43.41 kB / 341.3 MB, free: 4.41 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.2224, allocations: 63.72 kB / 341.4 MB, free: 4.336 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2224, allocations: 0 / 341.4 MB, free: 4.336 MB / 270.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001869/0.2226, allocations: 93.44 kB / 341.5 MB, free: 4.238 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2227, allocations: 7.938 kB / 341.5 MB, free: 4.23 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2227, allocations: 0 / 341.5 MB, free: 4.23 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2227, allocations: 4 kB / 341.5 MB, free: 4.227 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.734e-05/0.2228, allocations: 20.05 kB / 341.5 MB, free: 4.207 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.2228, allocations: 0 / 341.5 MB, free: 4.207 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.2228, allocations: 4 kB / 341.5 MB, free: 4.203 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.2228, allocations: 4 kB / 341.5 MB, free: 4.199 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 7.874e-05/0.2229, allocations: 109.8 kB / 341.6 MB, free: 4.082 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.2229, allocations: 15.83 kB / 341.7 MB, free: 4.066 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.2233, allocations: 129.3 kB / 341.8 MB, free: 3.938 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2233, allocations: 0 / 341.8 MB, free: 3.938 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2233, allocations: 0 / 341.8 MB, free: 3.938 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2233, allocations: 0 / 341.8 MB, free: 3.938 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.2235, allocations: 169.7 kB / 342 MB, free: 3.723 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2235, allocations: 0 / 342 MB, free: 3.723 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.254e-05/0.2236, allocations: 19.94 kB / 342 MB, free: 3.703 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2236, allocations: 3.984 kB / 342 MB, free: 3.699 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.2236, allocations: 0 / 342 MB, free: 3.699 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2236, allocations: 8 kB / 342 MB, free: 3.691 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2236, allocations: 4 kB / 342 MB, free: 3.688 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.2239, allocations: 137.7 kB / 342.1 MB, free: 3.531 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.224, allocations: 101 kB / 342.2 MB, free: 3.414 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.224, allocations: 7.938 kB / 342.2 MB, free: 3.406 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.224, allocations: 0 / 342.2 MB, free: 3.406 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.2241, allocations: 16.05 kB / 342.2 MB, free: 3.391 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.2241, allocations: 4 kB / 342.2 MB, free: 3.387 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.462e-05/0.2241, allocations: 83.28 kB / 342.3 MB, free: 3.305 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2241, allocations: 0 / 342.3 MB, free: 3.305 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004581/0.2246, allocations: 167.9 kB / 342.5 MB, free: 3.141 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.0007154/0.2253, allocations: 363 kB / 342.8 MB, free: 2.777 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.2255, allocations: 55.88 kB / 342.9 MB, free: 2.723 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2255, allocations: 0 / 342.9 MB, free: 2.723 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.2256, allocations: 31.92 kB / 342.9 MB, free: 2.691 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.2258, allocations: 16.7 kB / 343 MB, free: 2.676 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.2263, allocations: 351.7 kB / 343.3 MB, free: 2.305 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.2266, allocations: 0.6848 MB / 344 MB, free: 1.594 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.517e-05/0.2266, allocations: 31.75 kB / 344 MB, free: 1.562 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.2267, allocations: 23.36 kB / 344 MB, free: 1.539 MB / 270.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2267, allocations: 0 / 344 MB, free: 1.539 MB / 270.1 MB Notification: Performance of Templates: time 0.007006/0.2337, allocations: 3.681 MB / 347.7 MB, free: 13.85 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)