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.001824/0.001824, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002425/0.002425, allocations: 217.2 kB / 23.75 MB, free: 4.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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.00183/0.00183, allocations: 43.92 kB / 378.2 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2502, allocations: 53.37 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002394/0.2526, allocations: 1.378 MB / 433 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005633/0.2583, allocations: 4.11 MB / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.2583, allocations: 0 / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.2583, allocations: 0 / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009724/0.2593, allocations: 294.9 kB / 437.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.2604, allocations: 0.5135 MB / 437.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.2605, allocations: 63.66 kB / 438 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.2605, allocations: 7.969 kB / 438 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.2606, allocations: 39.84 kB / 438 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007063/0.2613, allocations: 371.3 kB / 438.4 MB, free: 148 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.2613, allocations: 4 kB / 438.4 MB, free: 144 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.2624, allocations: 0.6473 MB / 439 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.2624, allocations: 3.938 kB / 439 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.2625, allocations: 23.92 kB / 439.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007029/0.2632, allocations: 457.2 kB / 439.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2632, allocations: 8 kB / 439.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2632, allocations: 0 / 439.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.2632, allocations: 0 / 439.5 MB, free: 15.02 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.0005359/0.2637, allocations: 365.3 kB / 439.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.2638, allocations: 8.031 kB / 439.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.2638, allocations: 8.891 kB / 439.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.264, allocations: 134.4 kB / 440 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.264, allocations: 4.375 kB / 440 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.264, allocations: 7.938 kB / 440 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.2642, allocations: 67.33 kB / 440.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.2642, allocations: 0 / 440.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2642, allocations: 4 kB / 440.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2642, allocations: 0 / 440.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.076e-05/0.2643, allocations: 15.98 kB / 440.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.2645, allocations: 149.7 kB / 440.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.2648, allocations: 85.12 kB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.04e-05/0.2648, allocations: 21.72 kB / 440.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003564/0.2652, allocations: 115.9 kB / 440.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.2652, allocations: 46.44 kB / 440.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.2652, allocations: 0 / 440.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003064/0.2655, allocations: 77.61 kB / 440.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.2656, allocations: 85.05 kB / 440.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.504e-05/0.2657, allocations: 109.8 kB / 440.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.2657, allocations: 25.7 kB / 440.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.2657, allocations: 88.14 kB / 440.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.2658, allocations: 31.72 kB / 440.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.2658, allocations: 21.72 kB / 440.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.266, allocations: 314.8 kB / 441.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.266, allocations: 15.98 kB / 441.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.308e-05/0.2661, allocations: 39.42 kB / 441.3 MB, free: 13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.2662, allocations: 59.73 kB / 441.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2662, allocations: 0 / 441.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002099/0.2664, allocations: 89.48 kB / 441.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2665, allocations: 4 kB / 441.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2665, allocations: 4 kB / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2665, allocations: 0 / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.546e-05/0.2665, allocations: 23.98 kB / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2666, allocations: 4 kB / 441.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.2666, allocations: 4 kB / 441.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.2666, allocations: 4 kB / 441.5 MB, free: 12.79 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 8.497e-05/0.2667, allocations: 117.8 kB / 441.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.2667, allocations: 7.953 kB / 441.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000352/0.2671, allocations: 125 kB / 441.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.2671, allocations: 4 kB / 441.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2671, allocations: 0 / 441.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.2671, allocations: 0 / 441.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.2672, allocations: 152.6 kB / 441.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2672, allocations: 0 / 441.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.797e-05/0.2673, allocations: 15.98 kB / 441.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2673, allocations: 0 / 441.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2673, allocations: 4 kB / 441.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2673, allocations: 4 kB / 441.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2673, allocations: 4 kB / 441.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.2677, allocations: 145.8 kB / 442.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.2677, allocations: 11.97 kB / 442.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.2677, allocations: 4 kB / 442.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.2677, allocations: 7.984 kB / 442.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.2678, allocations: 4.062 kB / 442.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.2678, allocations: 11.92 kB / 442.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.358e-05/0.2678, allocations: 87.28 kB / 442.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2678, allocations: 0 / 442.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.2683, allocations: 139.5 kB / 442.3 MB, free: 11.88 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.0004873/0.2687, allocations: 278.8 kB / 442.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.2689, allocations: 47.91 kB / 442.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2689, allocations: 0 / 442.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.979e-05/0.269, allocations: 32.05 kB / 442.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.2692, allocations: 18.39 kB / 442.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.2698, allocations: 287 kB / 443 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.2701, allocations: 0.6963 MB / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.097e-05/0.2702, allocations: 24.22 kB / 443.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.2702, allocations: 27.42 kB / 443.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2702, allocations: 0 / 443.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Templates: time 0.007104/0.2773, allocations: 3.09 MB / 446.8 MB, free: 7.363 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: 4.582411673851311] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.2856306289322674 0.300906343 0.034468450000000005 Calling exit ...