Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001547, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.401/1.401, allocations: 227.7 MB / 247.2 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.88 kB / 359 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2446, allocations: 50.54 MB / 409.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002348/0.247, allocations: 1.378 MB / 410.9 MB, free: 60 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005447/0.2524, allocations: 4.023 MB / 415 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.2525, allocations: 0 / 415 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.2526, allocations: 4 kB / 415 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009307/0.2535, allocations: 278.9 kB / 415.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.2546, allocations: 0.4886 MB / 415.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.865e-05/0.2547, allocations: 51.67 kB / 415.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.2547, allocations: 7.984 kB / 415.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.95e-05/0.2548, allocations: 39.84 kB / 415.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006767/0.2555, allocations: 359.3 kB / 416.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.2555, allocations: 0 / 416.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.2566, allocations: 0.6005 MB / 416.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.2566, allocations: 7.984 kB / 416.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.2567, allocations: 23.86 kB / 416.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007497/0.2574, allocations: 458.8 kB / 417.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2574, allocations: 0 / 417.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2574, allocations: 0 / 417.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.2574, allocations: 0 / 417.2 MB, free: 9.715 MB / 334.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.0005706/0.258, allocations: 450.4 kB / 417.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2581, allocations: 12.03 kB / 417.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.483e-05/0.2581, allocations: 4.938 kB / 417.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.2583, allocations: 188.2 kB / 417.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.2584, allocations: 4.375 kB / 417.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.2584, allocations: 7.922 kB / 417.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.2585, allocations: 67.33 kB / 418 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2586, allocations: 0 / 418 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2586, allocations: 4 kB / 418 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.2586, allocations: 0 / 418 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.025e-05/0.2587, allocations: 23.98 kB / 418 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.2589, allocations: 170.6 kB / 418.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.2592, allocations: 85 kB / 418.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.844e-05/0.2593, allocations: 29.77 kB / 418.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.2605, allocations: 1.54 MB / 419.8 MB, free: 6.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.2605, allocations: 34.55 kB / 419.8 MB, free: 6.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.2605, allocations: 0 / 419.8 MB, free: 6.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003003/0.2608, allocations: 85.55 kB / 419.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.2609, allocations: 77.11 kB / 420 MB, free: 6.398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.261, allocations: 121.8 kB / 420.1 MB, free: 6.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.261, allocations: 25.7 kB / 420.1 MB, free: 6.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.2611, allocations: 84.14 kB / 420.2 MB, free: 6.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.2611, allocations: 23.78 kB / 420.3 MB, free: 6.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.2612, allocations: 21.72 kB / 420.3 MB, free: 6.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2613, allocations: 314.8 kB / 420.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.2614, allocations: 11.98 kB / 420.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.009e-05/0.2615, allocations: 43.42 kB / 420.6 MB, free: 5.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.2616, allocations: 59.36 kB / 420.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2616, allocations: 0 / 420.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002045/0.2619, allocations: 93.98 kB / 420.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2619, allocations: 4 kB / 420.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2619, allocations: 4 kB / 420.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2619, allocations: 3.984 kB / 420.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.262, allocations: 23.86 kB / 420.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.262, allocations: 0 / 420.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.2621, allocations: 4 kB / 420.8 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.2621, allocations: 4.469 kB / 420.8 MB, free: 5.508 MB / 334.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 9.761e-05/0.2622, allocations: 117.8 kB / 420.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.2622, allocations: 7.984 kB / 421 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003781/0.2626, allocations: 121.1 kB / 421.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2626, allocations: 0 / 421.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2626, allocations: 0 / 421.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2626, allocations: 0 / 421.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.2628, allocations: 185.5 kB / 421.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2628, allocations: 0 / 421.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.2629, allocations: 19.94 kB / 421.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.2629, allocations: 0 / 421.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.2629, allocations: 3.984 kB / 421.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2629, allocations: 4 kB / 421.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2629, allocations: 0 / 421.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.2633, allocations: 145.9 kB / 421.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-05/0.2633, allocations: 93.11 kB / 421.5 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.2634, allocations: 7.938 kB / 421.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.889e-05/0.2634, allocations: 3.938 kB / 421.5 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.2635, allocations: 7.984 kB / 421.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.2635, allocations: 8 kB / 421.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.619e-05/0.2635, allocations: 87.27 kB / 421.6 MB, free: 4.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2635, allocations: 4 kB / 421.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004203/0.264, allocations: 127.5 kB / 421.8 MB, free: 4.473 MB / 334.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.0006384/0.2646, allocations: 302.3 kB / 422 MB, free: 4.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.2648, allocations: 47.91 kB / 422.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2648, allocations: 0 / 422.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.785e-05/0.2649, allocations: 27.92 kB / 422.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.2651, allocations: 19.88 kB / 422.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.2656, allocations: 290.4 kB / 422.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.266, allocations: 0.6846 MB / 423.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.981e-05/0.266, allocations: 27.34 kB / 423.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.2661, allocations: 19.42 kB / 423.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2661, allocations: 0 / 423.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of Templates: time 0.006846/0.2729, allocations: 3.059 MB / 426.2 MB, free: 12 kB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480]