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.001309/0.001309, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001405/0.001405, allocations: 212 kB / 24.54 MB, free: 4.016 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.431/1.431, allocations: 230.3 MB / 258 MB, free: 8.262 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.002081/0.002081, allocations: 63.91 kB / 378.7 MB, free: 2.793 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2519, allocations: 53.36 MB / 432.1 MB, free: 7.078 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002392/0.2543, allocations: 1.379 MB / 433.5 MB, free: 5.691 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00549/0.2598, allocations: 4.102 MB / 437.6 MB, free: 1.566 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.2598, allocations: 0 / 437.6 MB, free: 1.566 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.2598, allocations: 3.984 kB / 437.6 MB, free: 1.562 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001007/0.2608, allocations: 302.9 kB / 437.9 MB, free: 1.266 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.2619, allocations: 0.5093 MB / 438.4 MB, free: 0.7617 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 9.953e-05/0.262, allocations: 59.64 kB / 438.5 MB, free: 0.7031 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.557e-05/0.262, allocations: 4 kB / 438.5 MB, free: 0.6992 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.2621, allocations: 39.84 kB / 438.5 MB, free: 0.6602 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007045/0.2628, allocations: 371.3 kB / 438.9 MB, free: 304 kB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.2628, allocations: 4 kB / 438.9 MB, free: 300 kB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.264, allocations: 0.6512 MB / 439.5 MB, free: 15.64 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.264, allocations: 4 kB / 439.5 MB, free: 15.64 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.013e-05/0.264, allocations: 23.81 kB / 439.5 MB, free: 15.61 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007649/0.2648, allocations: 460.7 kB / 440 MB, free: 15.17 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2648, allocations: 0 / 440 MB, free: 15.17 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.173e-06/0.2648, allocations: 0 / 440 MB, free: 15.17 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 4.448e-06/0.2648, allocations: 0 / 440 MB, free: 15.17 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.000572/0.2654, allocations: 365.3 kB / 440.4 MB, free: 14.78 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2654, allocations: 15.97 kB / 440.4 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.2654, allocations: 8.891 kB / 440.4 MB, free: 14.76 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.2656, allocations: 134.4 kB / 440.5 MB, free: 14.6 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.2656, allocations: 4.375 kB / 440.5 MB, free: 14.6 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.2657, allocations: 11.92 kB / 440.5 MB, free: 14.59 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.2658, allocations: 63.33 kB / 440.6 MB, free: 14.51 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2658, allocations: 0 / 440.6 MB, free: 14.51 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.2658, allocations: 0 / 440.6 MB, free: 14.51 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2658, allocations: 4 kB / 440.6 MB, free: 14.51 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.108e-05/0.2659, allocations: 23.97 kB / 440.6 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.2661, allocations: 145.7 kB / 440.8 MB, free: 14.3 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.2664, allocations: 81.06 kB / 440.8 MB, free: 14.2 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.967e-05/0.2665, allocations: 29.77 kB / 440.9 MB, free: 14.16 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003556/0.2669, allocations: 115.9 kB / 441 MB, free: 14.05 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.2669, allocations: 34.5 kB / 441 MB, free: 14.01 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.2669, allocations: 0 / 441 MB, free: 14.01 MB / 350.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0002968/0.2672, allocations: 81.61 kB / 441.1 MB, free: 13.92 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.2673, allocations: 93.03 kB / 441.2 MB, free: 13.81 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.2673, allocations: 105.8 kB / 441.3 MB, free: 13.7 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.2674, allocations: 29.7 kB / 441.3 MB, free: 13.66 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.2674, allocations: 84.14 kB / 441.4 MB, free: 13.58 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.2675, allocations: 23.8 kB / 441.4 MB, free: 13.55 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.2675, allocations: 21.7 kB / 441.4 MB, free: 13.53 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001383/0.2676, allocations: 314.8 kB / 441.7 MB, free: 13.21 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/0.2677, allocations: 11.98 kB / 441.8 MB, free: 13.2 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.2678, allocations: 43.42 kB / 441.8 MB, free: 13.14 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.2679, allocations: 59.36 kB / 441.9 MB, free: 13.07 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2679, allocations: 0 / 441.9 MB, free: 13.07 MB / 350.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.000221/0.2681, allocations: 93.95 kB / 442 MB, free: 12.98 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2682, allocations: 10.5 kB / 442 MB, free: 12.97 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2682, allocations: 3.984 kB / 442 MB, free: 12.96 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2682, allocations: 3.938 kB / 442 MB, free: 12.96 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.2683, allocations: 19.92 kB / 442 MB, free: 12.94 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2683, allocations: 4 kB / 442 MB, free: 12.94 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.2683, allocations: 0 / 442 MB, free: 12.94 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.2683, allocations: 4 kB / 442 MB, free: 12.93 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.926e-05/0.2684, allocations: 121.8 kB / 442.1 MB, free: 12.8 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.2684, allocations: 3.953 kB / 442.1 MB, free: 12.8 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.2688, allocations: 117.5 kB / 442.2 MB, free: 12.68 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.2688, allocations: 7.984 kB / 442.2 MB, free: 12.67 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2688, allocations: 0 / 442.2 MB, free: 12.67 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2688, allocations: 0 / 442.2 MB, free: 12.67 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.269, allocations: 160.5 kB / 442.4 MB, free: 12.47 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.269, allocations: 4 kB / 442.4 MB, free: 12.47 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.158e-05/0.2691, allocations: 12 kB / 442.4 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2691, allocations: 0 / 442.4 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.2691, allocations: 0 / 442.4 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.2691, allocations: 4 kB / 442.4 MB, free: 12.45 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2691, allocations: 3.984 kB / 442.4 MB, free: 12.45 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.2694, allocations: 145.8 kB / 442.6 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.2694, allocations: 15.97 kB / 442.6 MB, free: 12.27 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.2694, allocations: 0 / 442.6 MB, free: 12.27 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.424e-05/0.2695, allocations: 8 kB / 442.6 MB, free: 12.26 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.2695, allocations: 7.984 kB / 442.6 MB, free: 12.25 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.2695, allocations: 4 kB / 442.6 MB, free: 12.25 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 6.783e-05/0.2696, allocations: 91.27 kB / 442.7 MB, free: 12.16 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.2696, allocations: 0 / 442.7 MB, free: 12.16 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004331/0.27, allocations: 131.5 kB / 442.8 MB, free: 12.03 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.0005654/0.2706, allocations: 286.2 kB / 443.1 MB, free: 11.75 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002115/0.2708, allocations: 51.89 kB / 443.1 MB, free: 11.7 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2708, allocations: 0 / 443.1 MB, free: 11.7 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.421e-05/0.2709, allocations: 27.92 kB / 443.2 MB, free: 11.67 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.2711, allocations: 15.45 kB / 443.2 MB, free: 11.66 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005209/0.2716, allocations: 295.2 kB / 443.5 MB, free: 11.34 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.272, allocations: 0.6846 MB / 444.2 MB, free: 10.63 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 7.414e-05/0.272, allocations: 31.2 kB / 444.2 MB, free: 10.6 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.2721, allocations: 19.42 kB / 444.2 MB, free: 10.58 MB / 350.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.2721, allocations: 3.938 kB / 444.2 MB, free: 10.58 MB / 350.1 MB
Notification: Performance of Templates: time 0.007064/0.2791, allocations: 3.094 MB / 447.3 MB, free: 7.512 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.425392208620906]
Failed to read output from testmodel.py, exit status != 0:
['time', 'h1', 's1']
0.28771461453288794 0.30147924600000003 0.033658378
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f076af357b0>