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.001397/0.001397, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00155/0.00155, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.001644/0.001644, allocations: 43.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2542, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002477/0.2566, allocations: 1.339 MB / 433.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006024/0.2627, allocations: 3.741 MB / 437.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.2627, allocations: 0 / 437.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.2627, allocations: 3.938 kB / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.2638, allocations: 302.9 kB / 437.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.2651, allocations: 0.5091 MB / 438.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2652, allocations: 67.64 kB / 438.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.2652, allocations: 0 / 438.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.2653, allocations: 35.86 kB / 438.3 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007127/0.266, allocations: 371.3 kB / 438.7 MB, free: 344 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.2661, allocations: 7.938 kB / 438.7 MB, free: 336 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000968/0.267, allocations: 0.5302 MB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.267, allocations: 15.92 kB / 439.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.2671, allocations: 19.92 kB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006917/0.2678, allocations: 433.8 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2678, allocations: 0 / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2678, allocations: 0 / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.2678, allocations: 0 / 439.7 MB, free: 15.34 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.0005674/0.2684, allocations: 373.2 kB / 440 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2684, allocations: 8.031 kB / 440 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.2684, allocations: 8.922 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.2686, allocations: 130.4 kB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.2686, allocations: 4.375 kB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.2687, allocations: 11.94 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.2688, allocations: 59.39 kB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2688, allocations: 0 / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2688, allocations: 4 kB / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2689, allocations: 0 / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.3e-05/0.2689, allocations: 23.91 kB / 440.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.2691, allocations: 118.3 kB / 440.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.2694, allocations: 77.12 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.566e-05/0.2695, allocations: 21.78 kB / 440.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003638/0.2698, allocations: 131.8 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.2699, allocations: 30.56 kB / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.2699, allocations: 0 / 440.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003084/0.2702, allocations: 85.88 kB / 440.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.2702, allocations: 77.11 kB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2704, allocations: 117.8 kB / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.2704, allocations: 25.7 kB / 441 MB, free: 13.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.2704, allocations: 88.14 kB / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.2705, allocations: 23.78 kB / 441.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.2705, allocations: 21.72 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2706, allocations: 318.8 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.188e-05/0.2707, allocations: 15.98 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.435e-05/0.2708, allocations: 43.36 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.2709, allocations: 63.33 kB / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2709, allocations: 0 / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00019/0.2711, allocations: 89.5 kB / 441.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2711, allocations: 8 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2711, allocations: 3.938 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2711, allocations: 0 / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.2712, allocations: 19.98 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2712, allocations: 0 / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.2713, allocations: 4 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.2713, allocations: 4 kB / 441.6 MB, free: 13.15 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.73e-05/0.2714, allocations: 117.8 kB / 441.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.2714, allocations: 15.95 kB / 441.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.2717, allocations: 124.4 kB / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.2718, allocations: 0 / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2718, allocations: 0 / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2718, allocations: 0 / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.2719, allocations: 117.2 kB / 442 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2719, allocations: 0 / 442 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.926e-05/0.272, allocations: 19.98 kB / 442 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.272, allocations: 7.938 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.272, allocations: 4 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.272, allocations: 7.938 kB / 442 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.272, allocations: 0 / 442 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.2723, allocations: 141.9 kB / 442.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.2723, allocations: 15.92 kB / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.2723, allocations: 7.984 kB / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.2724, allocations: 0 / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.2724, allocations: 7.984 kB / 442.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.2724, allocations: 12.06 kB / 442.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.486e-05/0.2725, allocations: 83.28 kB / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2725, allocations: 4 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004359/0.2729, allocations: 131.5 kB / 442.4 MB, free: 12.29 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.0004974/0.2734, allocations: 282.7 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.2736, allocations: 47.91 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2736, allocations: 0 / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.668e-05/0.2737, allocations: 27.98 kB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.2739, allocations: 14.92 kB / 442.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005496/0.2745, allocations: 324.7 kB / 443.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.291e-05/0.2745, allocations: 71.33 kB / 443.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.2746, allocations: 27.36 kB / 443.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2746, allocations: 4 kB / 443.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Templates: time 0.005307/0.2799, allocations: 2.922 MB / 446.1 MB, free: 8.543 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.342264120001346] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.2884434456937015 0.30269475500000004 0.031843695000000005 Calling exit ...