Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001787/0.001787, allocations: 119.5 kB / 18.51 MB, free: 4.555 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.002138/0.002138, allocations: 201.7 kB / 21.45 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.89 kB / 373.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08979/0.09169, allocations: 53.34 MB / 427.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00236/0.09405, allocations: 1.383 MB / 428.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1716/0.2656, allocations: 4.039 MB / 432.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.2657, allocations: 1.281 kB / 432.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.2657, allocations: 7.828 kB / 432.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009481/0.2666, allocations: 280.8 kB / 432.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.2678, allocations: 0.4889 MB / 433.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.446e-05/0.2678, allocations: 62.59 kB / 433.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.543e-05/0.2679, allocations: 9.266 kB / 433.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.492e-05/0.268, allocations: 35.28 kB / 433.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005851/0.2686, allocations: 360.3 kB / 433.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.2686, allocations: 3.094 kB / 433.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008496/0.2694, allocations: 0.6228 MB / 434.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.2694, allocations: 4.719 kB / 434.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.2695, allocations: 23.16 kB / 434.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006353/0.2701, allocations: 459 kB / 435 MB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2701, allocations: 0 / 435 MB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2701, allocations: 2.625 kB / 435 MB, free: 7.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.2701, allocations: 0.9688 kB / 435 MB, free: 7.949 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.0004562/0.2706, allocations: 442.9 kB / 435.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2706, allocations: 10.62 kB / 435.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.2706, allocations: 7.906 kB / 435.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.2708, allocations: 192.7 kB / 435.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.2708, allocations: 2.891 kB / 435.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.2708, allocations: 4.812 kB / 435.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.271, allocations: 65.12 kB / 435.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.271, allocations: 1.906 kB / 435.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.271, allocations: 0 / 435.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.271, allocations: 1.094 kB / 435.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.701e-05/0.2711, allocations: 22.66 kB / 435.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.2712, allocations: 170.6 kB / 435.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.2715, allocations: 78.28 kB / 435.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.397e-05/0.2716, allocations: 24.2 kB / 436 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005933/0.2722, allocations: 1.547 MB / 437.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.2722, allocations: 36.22 kB / 437.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2722, allocations: 0 / 437.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002846/0.2725, allocations: 86.34 kB / 437.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.2725, allocations: 83.33 kB / 437.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.35e-05/0.2726, allocations: 107.5 kB / 437.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.2726, allocations: 34.11 kB / 437.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.698e-05/0.2726, allocations: 81.98 kB / 437.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.2726, allocations: 27.22 kB / 438 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.2726, allocations: 21.81 kB / 438 MB, free: 4.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.611e-05/0.2727, allocations: 321.2 kB / 438.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.093e-05/0.2727, allocations: 14.38 kB / 438.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.2728, allocations: 42.34 kB / 438.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.2729, allocations: 57.23 kB / 438.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2729, allocations: 5.312 kB / 438.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001858/0.2731, allocations: 86.12 kB / 438.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2731, allocations: 6.344 kB / 438.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2731, allocations: 4.062 kB / 438.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.2731, allocations: 3.688 kB / 438.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.468e-05/0.2732, allocations: 18.08 kB / 438.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2732, allocations: 2 kB / 438.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.2733, allocations: 6.734 kB / 438.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.2733, allocations: 3.5 kB / 438.5 MB, free: 4.363 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.453e-05/0.2733, allocations: 112.1 kB / 438.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.2734, allocations: 11.62 kB / 438.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000352/0.2737, allocations: 128 kB / 438.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2737, allocations: 1.953 kB / 438.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2737, allocations: 4.141 kB / 438.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2737, allocations: 1.125 kB / 438.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.012e-05/0.2738, allocations: 175.9 kB / 439 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2738, allocations: 3.938 kB / 439 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-05/0.2739, allocations: 12.67 kB / 439 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2739, allocations: 8.047 kB / 439 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2739, allocations: 1.766 kB / 439 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2739, allocations: 1.312 kB / 439 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2739, allocations: 1.031 kB / 439 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.2742, allocations: 142.5 kB / 439.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.2742, allocations: 91.97 kB / 439.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.2742, allocations: 8.375 kB / 439.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.195e-05/0.2743, allocations: 2.844 kB / 439.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.2743, allocations: 7.547 kB / 439.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.2743, allocations: 3.984 kB / 439.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.344e-05/0.2744, allocations: 92.31 kB / 439.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2744, allocations: 0 / 439.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004268/0.2748, allocations: 134 kB / 439.5 MB, free: 3.703 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.0004864/0.2753, allocations: 278.8 kB / 439.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.2755, allocations: 51.61 kB / 439.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2755, allocations: 3.938 kB / 439.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.341e-05/0.2756, allocations: 27.62 kB / 439.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.2758, allocations: 16.52 kB / 439.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.2762, allocations: 290.5 kB / 440.1 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.535e-05/0.2763, allocations: 0.6862 MB / 440.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.87e-05/0.2763, allocations: 26.84 kB / 440.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.2764, allocations: 20.81 kB / 440.8 MB, free: 2.641 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2764, allocations: 1.406 kB / 440.8 MB, free: 2.641 MB / 350.1 MB Notification: Performance of Templates: time 0.006948/0.2833, allocations: 3.058 MB / 443.9 MB, free: 2.258 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.67136783991009] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.29045315086841583 0.30195940600000004 0.029068109 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7ecccfd7b0>