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.001505/0.001505, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001499/0.001499, allocations: 209.3 kB / 23.73 MB, free: 4.379 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001817/0.001817, allocations: 47.91 kB / 378.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2492, allocations: 53.37 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00287/0.2521, allocations: 1.343 MB / 432.9 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006347/0.2584, allocations: 3.733 MB / 436.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.2585, allocations: 4 kB / 436.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.2585, allocations: 7.922 kB / 436.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.2598, allocations: 290.9 kB / 437 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.2613, allocations: 0.516 MB / 437.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.2614, allocations: 51.73 kB / 437.5 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.2614, allocations: 4 kB / 437.5 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.2616, allocations: 35.84 kB / 437.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008824/0.2625, allocations: 379.2 kB / 437.9 MB, free: 360 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.2625, allocations: 4 kB / 437.9 MB, free: 356 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.2638, allocations: 0.5498 MB / 438.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.2638, allocations: 11.98 kB / 438.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.2638, allocations: 11.94 kB / 438.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.2649, allocations: 437.3 kB / 438.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.265, allocations: 0 / 438.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.265, allocations: 0 / 438.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.265, allocations: 0 / 438.9 MB, free: 15.35 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.0007675/0.2657, allocations: 373.3 kB / 439.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.2658, allocations: 8.031 kB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.2658, allocations: 4.938 kB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.2661, allocations: 138.3 kB / 439.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.2661, allocations: 4.375 kB / 439.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.2661, allocations: 7.938 kB / 439.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.2663, allocations: 71.38 kB / 439.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2663, allocations: 0 / 439.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2663, allocations: 4 kB / 439.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2664, allocations: 0 / 439.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.161e-05/0.2664, allocations: 19.92 kB / 439.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.2666, allocations: 122.2 kB / 439.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.2669, allocations: 77.25 kB / 439.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.775e-05/0.267, allocations: 17.7 kB / 439.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004051/0.2674, allocations: 135.8 kB / 439.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.2674, allocations: 30.56 kB / 439.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.2674, allocations: 0 / 439.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003168/0.2678, allocations: 89.48 kB / 440 MB, free: 14.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.2678, allocations: 77.11 kB / 440.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2679, allocations: 117.8 kB / 440.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.2679, allocations: 25.7 kB / 440.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.268, allocations: 84.14 kB / 440.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.268, allocations: 19.8 kB / 440.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.2681, allocations: 29.7 kB / 440.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2682, allocations: 314.8 kB / 440.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.988e-05/0.2683, allocations: 11.98 kB / 440.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.666e-05/0.2684, allocations: 39.42 kB / 440.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.2685, allocations: 59.36 kB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2685, allocations: 4 kB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002147/0.2687, allocations: 97.88 kB / 440.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2687, allocations: 4 kB / 440.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2687, allocations: 0 / 440.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.2688, allocations: 4 kB / 440.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.2688, allocations: 12.05 kB / 440.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2688, allocations: 3.984 kB / 440.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.2689, allocations: 7.984 kB / 440.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.2689, allocations: 4 kB / 440.9 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 9.084e-05/0.269, allocations: 109.8 kB / 441 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.269, allocations: 11.89 kB / 441 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/0.2694, allocations: 131.5 kB / 441.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.2694, allocations: 0 / 441.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2694, allocations: 0 / 441.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.2695, allocations: 7.984 kB / 441.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.2696, allocations: 117.2 kB / 441.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2696, allocations: 0 / 441.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.916e-05/0.2697, allocations: 16 kB / 441.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.2697, allocations: 7.938 kB / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2697, allocations: 4 kB / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.2697, allocations: 4 kB / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2697, allocations: 3.984 kB / 441.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.27, allocations: 141.9 kB / 441.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.2701, allocations: 23.81 kB / 441.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.2701, allocations: 0 / 441.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.953e-05/0.2701, allocations: 3.938 kB / 441.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.2702, allocations: 7.984 kB / 441.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2702, allocations: 8 kB / 441.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.761e-05/0.2702, allocations: 91.33 kB / 441.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2702, allocations: 0 / 441.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004774/0.2707, allocations: 135.5 kB / 441.7 MB, free: 12.28 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.000594/0.2713, allocations: 273.5 kB / 442 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.2715, allocations: 55.89 kB / 442 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2715, allocations: 0 / 442 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.047e-05/0.2716, allocations: 27.92 kB / 442.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.2718, allocations: 11.19 kB / 442.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/0.2724, allocations: 299.9 kB / 442.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.876e-05/0.2725, allocations: 71.28 kB / 442.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.975e-05/0.2725, allocations: 35.52 kB / 442.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.2726, allocations: 19.42 kB / 442.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2726, allocations: 0 / 442.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Templates: time 0.007453/0.28, allocations: 3.158 MB / 445.7 MB, free: 8.332 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.561071538832039] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.28897947492077947 0.304675112 0.036432755000000004 Calling exit ...