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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001402/0.001402, allocations: 120.8 kB / 19.18 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001563, allocations: 202.6 kB / 22.12 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.503/1.503, allocations: 230.4 MB / 255.4 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "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.002183/0.002183, allocations: 71.83 kB / 374.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1042, allocations: 53.32 MB / 428 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002775/0.107, allocations: 1.38 MB / 429.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2022/0.3092, allocations: 4.041 MB / 433.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.3092, allocations: 0.6562 kB / 433.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.3093, allocations: 7.094 kB / 433.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.3103, allocations: 283.2 kB / 433.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.3113, allocations: 0.4941 MB / 434.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.963e-05/0.3114, allocations: 53.77 kB / 434.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.3115, allocations: 9.641 kB / 434.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.3116, allocations: 43.83 kB / 434.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.3122, allocations: 361.7 kB / 434.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.3122, allocations: 2.875 kB / 434.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009314/0.3132, allocations: 0.6177 MB / 435.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.3132, allocations: 9.344 kB / 435.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.3132, allocations: 21.25 kB / 435.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000719/0.3139, allocations: 455 kB / 435.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3139, allocations: 0 / 435.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3139, allocations: 0 / 435.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3139, allocations: 1.188 kB / 435.8 MB, free: 8.445 MB / 350.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.000515/0.3145, allocations: 448.9 kB / 436.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3145, allocations: 9.875 kB / 436.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.3145, allocations: 7.109 kB / 436.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.3147, allocations: 193.2 kB / 436.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3147, allocations: 5.594 kB / 436.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.3147, allocations: 1.375 kB / 436.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.3149, allocations: 65.31 kB / 436.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3149, allocations: 1.188 kB / 436.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.3149, allocations: 0.9375 kB / 436.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3149, allocations: 4.719 kB / 436.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.186e-05/0.315, allocations: 24.14 kB / 436.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.3151, allocations: 170.5 kB / 436.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.3154, allocations: 75.06 kB / 436.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/0.3155, allocations: 24.72 kB / 436.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006363/0.3161, allocations: 1.548 MB / 438.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.3161, allocations: 33.58 kB / 438.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3161, allocations: 0 / 438.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002888/0.3164, allocations: 85.44 kB / 438.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.3164, allocations: 86.81 kB / 438.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/0.3165, allocations: 113.2 kB / 438.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.3165, allocations: 26.95 kB / 438.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.347e-05/0.3166, allocations: 85.72 kB / 438.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.3166, allocations: 24.72 kB / 438.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.3166, allocations: 21.25 kB / 438.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.711e-05/0.3167, allocations: 313.8 kB / 439.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.3167, allocations: 14.7 kB / 439.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.3168, allocations: 47.22 kB / 439.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3169, allocations: 56.55 kB / 439.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3169, allocations: 1.375 kB / 439.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001714/0.3171, allocations: 89.92 kB / 439.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3171, allocations: 13.75 kB / 439.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3171, allocations: 1.797 kB / 439.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3171, allocations: 1.188 kB / 439.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.778e-05/0.3172, allocations: 15.05 kB / 439.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3172, allocations: 1.922 kB / 439.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.3172, allocations: 4.094 kB / 439.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3172, allocations: 4.5 kB / 439.4 MB, free: 4.859 MB / 350.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 5.101e-05/0.3173, allocations: 117.4 kB / 439.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.3173, allocations: 18.08 kB / 439.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.3177, allocations: 114.6 kB / 439.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.3177, allocations: 5.188 kB / 439.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3177, allocations: 0 / 439.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.3177, allocations: 1.984 kB / 439.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.898e-05/0.3178, allocations: 175.1 kB / 439.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3178, allocations: 4.547 kB / 439.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.75e-05/0.3179, allocations: 17.11 kB / 439.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3179, allocations: 0 / 439.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3179, allocations: 3.625 kB / 439.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3179, allocations: 5.219 kB / 439.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3179, allocations: 1.844 kB / 439.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.3181, allocations: 140.9 kB / 440 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.3182, allocations: 95.45 kB / 440.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.3182, allocations: 3.094 kB / 440.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.024e-05/0.3182, allocations: 5.984 kB / 440.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.3183, allocations: 5.484 kB / 440.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.3183, allocations: 3.094 kB / 440.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.757e-05/0.3183, allocations: 90.05 kB / 440.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3183, allocations: 1.406 kB / 440.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.3188, allocations: 135 kB / 440.3 MB, free: 4.199 MB / 350.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.0006321/0.3195, allocations: 302.4 kB / 440.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.3197, allocations: 48.84 kB / 440.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3197, allocations: 1.031 kB / 440.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.286e-05/0.3198, allocations: 27.02 kB / 440.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.32, allocations: 13.48 kB / 440.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.3204, allocations: 318.1 kB / 441 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.3205, allocations: 0.6846 MB / 441.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.3206, allocations: 26.27 kB / 441.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3206, allocations: 4 kB / 441.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of Templates: time 0.006203/0.3268, allocations: 2.922 MB / 444.6 MB, free: 2.719 MB / 350.1 MB " [Timeout remaining time 660] 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] [Calling os._exit(0), Time elapsed: 7.302606087992899] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.3347824509255588 0.347351758 0.030379539 Calling exit ...