Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 51.92 kB / 371.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2804, allocations: 52.19 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002597/0.283, allocations: 1.37 MB / 425.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005792/0.2888, allocations: 4.035 MB / 429.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.911e-05/0.2888, allocations: 3.938 kB / 429.3 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.2888, allocations: 7.984 kB / 429.3 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.29, allocations: 298.9 kB / 429.6 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.2913, allocations: 0.506 MB / 430.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.2914, allocations: 55.72 kB / 430.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.2914, allocations: 7.797 kB / 430.2 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.2916, allocations: 39.84 kB / 430.2 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007671/0.2923, allocations: 371.2 kB / 430.6 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.2923, allocations: 4 kB / 430.6 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.2935, allocations: 0.6425 MB / 431.2 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.2936, allocations: 8 kB / 431.2 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.2936, allocations: 19.88 kB / 431.2 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007448/0.2943, allocations: 464.2 kB / 431.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2943, allocations: 0 / 431.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2943, allocations: 0 / 431.7 MB, free: 6.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.2944, allocations: 0 / 431.7 MB, free: 6.852 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.0005578/0.2949, allocations: 365.3 kB / 432 MB, free: 6.465 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.295, allocations: 12.92 kB / 432 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.295, allocations: 8.891 kB / 432.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.2952, allocations: 130.5 kB / 432.2 MB, free: 6.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.2952, allocations: 4.375 kB / 432.2 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.2952, allocations: 15.89 kB / 432.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.2954, allocations: 67.27 kB / 432.3 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.2954, allocations: 0 / 432.3 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.2954, allocations: 0 / 432.3 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2954, allocations: 0 / 432.3 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.729e-05/0.2955, allocations: 19.98 kB / 432.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.2957, allocations: 145.7 kB / 432.4 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.296, allocations: 81.06 kB / 432.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.2961, allocations: 25.77 kB / 432.5 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003719/0.2964, allocations: 123.9 kB / 432.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.2965, allocations: 34.56 kB / 432.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2965, allocations: 3.938 kB / 432.7 MB, free: 5.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002952/0.2968, allocations: 81.59 kB / 432.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.2968, allocations: 81.11 kB / 432.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2969, allocations: 109.8 kB / 433 MB, free: 5.391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.297, allocations: 29.7 kB / 433 MB, free: 5.355 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.297, allocations: 92.08 kB / 433.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.297, allocations: 27.75 kB / 433.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.2971, allocations: 21.7 kB / 433.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2972, allocations: 314.8 kB / 433.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.2973, allocations: 11.98 kB / 433.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.2974, allocations: 39.42 kB / 433.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.2975, allocations: 63.72 kB / 433.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2975, allocations: 0 / 433.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001949/0.2977, allocations: 89.53 kB / 433.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.2977, allocations: 8 kB / 433.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2977, allocations: 0 / 433.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2977, allocations: 64 / 433.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.2978, allocations: 16 kB / 433.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.2978, allocations: 11.92 kB / 433.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.2979, allocations: 3.953 kB / 433.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.2979, allocations: 4 kB / 433.7 MB, free: 4.617 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.069e-05/0.298, allocations: 117.8 kB / 433.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.298, allocations: 0 / 433.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.2983, allocations: 120.4 kB / 433.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.2983, allocations: 4 kB / 433.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2984, allocations: 0 / 433.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2984, allocations: 7.922 kB / 433.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.2985, allocations: 148.6 kB / 434.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2985, allocations: 0 / 434.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.45e-05/0.2986, allocations: 27.92 kB / 434.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2986, allocations: 0 / 434.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.2986, allocations: 0 / 434.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.2986, allocations: 8 kB / 434.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2986, allocations: 0 / 434.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.2989, allocations: 141.8 kB / 434.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.2989, allocations: 15.95 kB / 434.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.2989, allocations: 0 / 434.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.299, allocations: 4 kB / 434.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.299, allocations: 11.98 kB / 434.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.299, allocations: 8 kB / 434.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.494e-05/0.2991, allocations: 95.75 kB / 434.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2991, allocations: 0 / 434.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004216/0.2995, allocations: 131.5 kB / 434.5 MB, free: 3.715 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.0006201/0.3001, allocations: 292.9 kB / 434.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.3003, allocations: 51.91 kB / 434.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3003, allocations: 0 / 434.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.298e-05/0.3004, allocations: 23.98 kB / 434.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.3006, allocations: 15.92 kB / 434.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.3012, allocations: 324.8 kB / 435.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.3015, allocations: 0.6884 MB / 435.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.3016, allocations: 19.42 kB / 435.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3016, allocations: 0 / 435.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of Templates: time 0.005424/0.307, allocations: 2.891 MB / 438.8 MB, free: 15.39 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.179222546052188] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.31613066606223583 0.33044906500000004 0.032930406 Calling exit ...