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.0008462/0.0008462, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001031/0.001031, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 222.1 MB, free: 5.461 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.0007487/0.0007488, allocations: 10.81 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2328, allocations: 47.59 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.0011/0.2339, allocations: 1.062 MB / 327.5 MB, free: 0.5664 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.008004/0.2419, allocations: 6.619 MB / 334.2 MB, free: 11.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-05/0.2421, allocations: 0 / 334.2 MB, free: 11.3 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.2421, allocations: 3.938 kB / 334.2 MB, free: 11.29 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.2433, allocations: 240.6 kB / 334.4 MB, free: 11.14 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.2449, allocations: 0.524 MB / 334.9 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.919e-05/0.245, allocations: 46.11 kB / 335 MB, free: 10.78 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.2451, allocations: 6.078 kB / 335 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.2452, allocations: 36.84 kB / 335 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008015/0.246, allocations: 388 kB / 335.4 MB, free: 10.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.246, allocations: 0 / 335.4 MB, free: 10.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.2471, allocations: 0.5614 MB / 335.9 MB, free: 9.977 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.2471, allocations: 3.938 kB / 335.9 MB, free: 9.973 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.2472, allocations: 29.7 kB / 336 MB, free: 9.938 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006702/0.2478, allocations: 344.7 kB / 336.3 MB, free: 9.602 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.2479, allocations: 8 kB / 336.3 MB, free: 9.594 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2479, allocations: 0 / 336.3 MB, free: 9.594 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.2479, allocations: 0 / 336.3 MB, free: 9.594 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.0005855/0.2485, allocations: 455 kB / 336.8 MB, free: 9.102 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2485, allocations: 8.031 kB / 336.8 MB, free: 9.094 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.2486, allocations: 7.906 kB / 336.8 MB, free: 9.086 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.2488, allocations: 190.9 kB / 337 MB, free: 8.859 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.2488, allocations: 7.938 kB / 337 MB, free: 8.852 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.2489, allocations: 0 / 337 MB, free: 8.852 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.249, allocations: 67.33 kB / 337 MB, free: 8.773 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2491, allocations: 0 / 337 MB, free: 8.773 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2491, allocations: 0 / 337 MB, free: 8.773 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2491, allocations: 4 kB / 337 MB, free: 8.77 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.097e-05/0.2492, allocations: 15.98 kB / 337.1 MB, free: 8.754 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.2494, allocations: 182.5 kB / 337.2 MB, free: 8.523 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.2497, allocations: 77.12 kB / 337.3 MB, free: 8.43 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/0.2497, allocations: 25.77 kB / 337.3 MB, free: 8.398 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009931/0.2507, allocations: 1.536 MB / 338.9 MB, free: 6.512 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.2508, allocations: 34.56 kB / 338.9 MB, free: 6.469 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2508, allocations: 0 / 338.9 MB, free: 6.469 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002785/0.2511, allocations: 85.5 kB / 339 MB, free: 6.379 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.2511, allocations: 81.09 kB / 339.1 MB, free: 6.281 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.2512, allocations: 117.8 kB / 339.2 MB, free: 6.156 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.2512, allocations: 29.7 kB / 339.2 MB, free: 6.121 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.2513, allocations: 88.14 kB / 339.3 MB, free: 6.031 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.2513, allocations: 19.66 kB / 339.3 MB, free: 6.012 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.2513, allocations: 4 kB / 339.3 MB, free: 6.008 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2514, allocations: 322.8 kB / 339.6 MB, free: 5.684 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.2515, allocations: 11.98 kB / 339.7 MB, free: 5.672 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.2516, allocations: 35.42 kB / 339.7 MB, free: 5.625 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.355e-05/0.2516, allocations: 20 kB / 339.7 MB, free: 5.605 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2516, allocations: 3.938 kB / 339.7 MB, free: 5.602 MB / 270.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001741/0.2518, allocations: 85.97 kB / 339.8 MB, free: 5.512 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2518, allocations: 7.938 kB / 339.8 MB, free: 5.504 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.2518, allocations: 0 / 339.8 MB, free: 5.504 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2519, allocations: 4.094 kB / 339.8 MB, free: 5.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/0.2519, allocations: 12 kB / 339.8 MB, free: 5.488 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.2519, allocations: 8.047 kB / 339.8 MB, free: 5.48 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.252, allocations: 11.89 kB / 339.8 MB, free: 5.469 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.252, allocations: 4 kB / 339.8 MB, free: 5.465 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.771e-05/0.2521, allocations: 113.8 kB / 340 MB, free: 5.344 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.2521, allocations: 4 kB / 340 MB, free: 5.34 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.2524, allocations: 125.3 kB / 340.1 MB, free: 5.215 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.2524, allocations: 4 kB / 340.1 MB, free: 5.211 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2525, allocations: 0 / 340.1 MB, free: 5.211 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2525, allocations: 3.984 kB / 340.1 MB, free: 5.207 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.2526, allocations: 177.6 kB / 340.3 MB, free: 4.984 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2526, allocations: 3.938 kB / 340.3 MB, free: 4.98 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.2527, allocations: 15.98 kB / 340.3 MB, free: 4.965 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2527, allocations: 0 / 340.3 MB, free: 4.965 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2527, allocations: 4 kB / 340.3 MB, free: 4.961 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2527, allocations: 0 / 340.3 MB, free: 4.961 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2527, allocations: 8 kB / 340.3 MB, free: 4.953 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.253, allocations: 137.8 kB / 340.4 MB, free: 4.797 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.253, allocations: 97.02 kB / 340.5 MB, free: 4.684 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.2531, allocations: 0 / 340.5 MB, free: 4.684 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/0.2531, allocations: 7.984 kB / 340.5 MB, free: 4.676 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.2532, allocations: 8 kB / 340.5 MB, free: 4.668 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.2532, allocations: 4.062 kB / 340.5 MB, free: 4.664 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.594e-05/0.2532, allocations: 91.27 kB / 340.6 MB, free: 4.574 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2532, allocations: 0 / 340.6 MB, free: 4.574 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004316/0.2537, allocations: 163.9 kB / 340.8 MB, free: 4.414 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007052/0.2544, allocations: 365.4 kB / 341.1 MB, free: 4.051 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.2546, allocations: 51.91 kB / 341.2 MB, free: 4 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2546, allocations: 0 / 341.2 MB, free: 4 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.689e-05/0.2547, allocations: 28.11 kB / 341.2 MB, free: 3.973 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.2549, allocations: 15.98 kB / 341.2 MB, free: 3.957 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.2554, allocations: 349.7 kB / 341.6 MB, free: 3.586 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.2556, allocations: 0.6887 MB / 342.3 MB, free: 2.871 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.012e-05/0.2557, allocations: 39.69 kB / 342.3 MB, free: 2.832 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.2558, allocations: 19.42 kB / 342.3 MB, free: 2.812 MB / 270.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2558, allocations: 4 kB / 342.3 MB, free: 2.809 MB / 270.1 MB Notification: Performance of Templates: time 0.00687/0.2627, allocations: 3.639 MB / 346 MB, free: 15.16 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)