Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002464/0.002464, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 254.8 MB, free: 15.11 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 51.88 kB / 374.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1045, allocations: 53.34 MB / 427.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002526/0.107, allocations: 1.372 MB / 428.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2054/0.3123, allocations: 4.046 MB / 432.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.3124, allocations: 1.438 kB / 432.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.3124, allocations: 7.391 kB / 432.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.3135, allocations: 279.7 kB / 433.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.3148, allocations: 0.4901 MB / 433.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.315, allocations: 58.52 kB / 433.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.315, allocations: 9.156 kB / 433.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.3151, allocations: 41.62 kB / 433.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006486/0.3158, allocations: 359.5 kB / 434.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.3158, allocations: 0 / 434.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.3168, allocations: 0.6218 MB / 434.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.3168, allocations: 5.5 kB / 434.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.3169, allocations: 24.12 kB / 434.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007917/0.3177, allocations: 455 kB / 435.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3177, allocations: 0 / 435.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3177, allocations: 4 kB / 435.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3177, allocations: 5.984 kB / 435.2 MB, free: 7.926 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.000548/0.3182, allocations: 443.5 kB / 435.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3183, allocations: 9.656 kB / 435.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.3183, allocations: 7.391 kB / 435.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.3185, allocations: 190.5 kB / 435.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3185, allocations: 2.188 kB / 435.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.3185, allocations: 1.406 kB / 435.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.3187, allocations: 68.09 kB / 435.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3187, allocations: 0.9688 kB / 435.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3187, allocations: 3.312 kB / 435.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3187, allocations: 1.719 kB / 435.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.247e-05/0.3188, allocations: 19.92 kB / 436 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.319, allocations: 175.4 kB / 436.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.3193, allocations: 85.31 kB / 436.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.671e-05/0.3193, allocations: 23.48 kB / 436.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006943/0.32, allocations: 1.541 MB / 437.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.32, allocations: 35.17 kB / 437.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.32, allocations: 0 / 437.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003225/0.3204, allocations: 86.95 kB / 437.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.3204, allocations: 79.09 kB / 438 MB, free: 5.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.267e-05/0.3205, allocations: 112.7 kB / 438.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.3205, allocations: 25.7 kB / 438.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.986e-05/0.3205, allocations: 86.02 kB / 438.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.3205, allocations: 27.52 kB / 438.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.3206, allocations: 25.38 kB / 438.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.3206, allocations: 317.2 kB / 438.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/0.3207, allocations: 14.97 kB / 438.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.771e-05/0.3208, allocations: 41.72 kB / 438.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.3209, allocations: 63.64 kB / 438.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3209, allocations: 1.375 kB / 438.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001879/0.3211, allocations: 91.62 kB / 438.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3211, allocations: 6.703 kB / 438.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3211, allocations: 1.406 kB / 438.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3211, allocations: 0.875 kB / 438.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.3212, allocations: 15.41 kB / 438.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.3212, allocations: 6.422 kB / 438.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.3212, allocations: 4.016 kB / 438.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.3213, allocations: 4 kB / 438.8 MB, free: 4.336 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 4.992e-05/0.3213, allocations: 116.2 kB / 438.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.3213, allocations: 11.33 kB / 438.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.3217, allocations: 122.6 kB / 439 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.3217, allocations: 1.562 kB / 439 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3217, allocations: 1.062 kB / 439 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3217, allocations: 1.766 kB / 439.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.3218, allocations: 173.2 kB / 439.2 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3218, allocations: 5 kB / 439.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.3219, allocations: 13.2 kB / 439.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3219, allocations: 0 / 439.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3219, allocations: 6 kB / 439.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3219, allocations: 1.219 kB / 439.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3219, allocations: 5.469 kB / 439.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.3222, allocations: 141.5 kB / 439.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.3222, allocations: 98.52 kB / 439.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.3223, allocations: 1.984 kB / 439.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.982e-05/0.3223, allocations: 3.172 kB / 439.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3223, allocations: 12.73 kB / 439.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.3224, allocations: 3.578 kB / 439.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.097e-05/0.3224, allocations: 89.75 kB / 439.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3224, allocations: 0 / 439.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005056/0.3229, allocations: 137.3 kB / 439.7 MB, free: 3.672 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.0005756/0.3235, allocations: 277.7 kB / 440 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.3237, allocations: 48.16 kB / 440 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3237, allocations: 0 / 440 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.686e-05/0.3238, allocations: 29.05 kB / 440.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.324, allocations: 14.39 kB / 440.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.3245, allocations: 320.3 kB / 440.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.3246, allocations: 0.6908 MB / 441.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.3246, allocations: 24.25 kB / 441.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3246, allocations: 0 / 441.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of Templates: time 0.00671/0.3314, allocations: 2.915 MB / 444 MB, free: 2.199 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.4912356460117735] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.3402878979977686 0.35326230999999997 0.032546747 Calling exit ...