Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 43.92 kB / 371.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2598, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002527/0.2624, allocations: 1.351 MB / 425.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005611/0.268, allocations: 3.666 MB / 428.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.004e-05/0.268, allocations: 0 / 428.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.268, allocations: 3.984 kB / 428.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.2692, allocations: 298.9 kB / 429.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.2704, allocations: 0.5087 MB / 429.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2705, allocations: 63.66 kB / 429.7 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.2705, allocations: 3.984 kB / 429.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.2706, allocations: 43.84 kB / 429.7 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006878/0.2713, allocations: 367.3 kB / 430.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.2713, allocations: 0 / 430.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009252/0.2723, allocations: 0.5341 MB / 430.6 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.2723, allocations: 8 kB / 430.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.2723, allocations: 27.84 kB / 430.7 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006753/0.273, allocations: 433.7 kB / 431.1 MB, free: 7.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.273, allocations: 4 kB / 431.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.273, allocations: 0 / 431.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.273, allocations: 0 / 431.1 MB, free: 7.168 MB / 334.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.0005586/0.2736, allocations: 365.3 kB / 431.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2736, allocations: 8.922 kB / 431.5 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.2736, allocations: 8.891 kB / 431.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.2738, allocations: 130.4 kB / 431.6 MB, free: 6.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2739, allocations: 4.375 kB / 431.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.2739, allocations: 11.89 kB / 431.6 MB, free: 6.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.274, allocations: 63.39 kB / 431.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.274, allocations: 3.938 kB / 431.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.2741, allocations: 0 / 431.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2741, allocations: 4 kB / 431.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.548e-05/0.2742, allocations: 19.97 kB / 431.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.2743, allocations: 110.2 kB / 431.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.2746, allocations: 85.2 kB / 431.9 MB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.2747, allocations: 21.78 kB / 431.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003639/0.275, allocations: 131.8 kB / 432 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.2751, allocations: 34.56 kB / 432.1 MB, free: 6.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.2751, allocations: 4 kB / 432.1 MB, free: 6.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002859/0.2753, allocations: 77.59 kB / 432.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.2754, allocations: 81.11 kB / 432.2 MB, free: 5.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.586e-05/0.2755, allocations: 105.8 kB / 432.3 MB, free: 5.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.2755, allocations: 29.7 kB / 432.4 MB, free: 5.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.2756, allocations: 84.14 kB / 432.4 MB, free: 5.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.2756, allocations: 31.73 kB / 432.5 MB, free: 5.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.2756, allocations: 21.72 kB / 432.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2758, allocations: 322.8 kB / 432.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.877e-05/0.2758, allocations: 12 kB / 432.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.322e-05/0.2759, allocations: 39.42 kB / 432.9 MB, free: 5.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.276, allocations: 59.72 kB / 432.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.276, allocations: 4 kB / 432.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001954/0.2762, allocations: 89.53 kB / 433 MB, free: 5.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2763, allocations: 4 kB / 433 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.2763, allocations: 0 / 433 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2763, allocations: 7.938 kB / 433 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.2763, allocations: 19.98 kB / 433 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2764, allocations: 3.938 kB / 433 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.2764, allocations: 7.953 kB / 433.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.2764, allocations: 4 kB / 433.1 MB, free: 4.977 MB / 334.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.287e-05/0.2765, allocations: 109.8 kB / 433.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.2765, allocations: 15.98 kB / 433.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.2769, allocations: 124.1 kB / 433.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2769, allocations: 0 / 433.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2769, allocations: 4 kB / 433.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2769, allocations: 0 / 433.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.277, allocations: 125.2 kB / 433.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.277, allocations: 0 / 433.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.404e-05/0.2771, allocations: 15.92 kB / 433.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2771, allocations: 7.938 kB / 433.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.2771, allocations: 4 kB / 433.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2771, allocations: 0 / 433.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2771, allocations: 0 / 433.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.2774, allocations: 141.9 kB / 433.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.2774, allocations: 15.89 kB / 433.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.2774, allocations: 0 / 433.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.617e-05/0.2775, allocations: 11.98 kB / 433.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.2775, allocations: 3.984 kB / 433.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.2775, allocations: 12 kB / 433.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.585e-05/0.2776, allocations: 87.83 kB / 433.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2776, allocations: 0 / 433.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004152/0.278, allocations: 135.5 kB / 433.9 MB, free: 4.113 MB / 334.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.0006324/0.2786, allocations: 301.3 kB / 434.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.2788, allocations: 47.89 kB / 434.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2788, allocations: 3.938 kB / 434.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.2789, allocations: 32.11 kB / 434.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.2791, allocations: 6.062 kB / 434.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/0.2797, allocations: 320.7 kB / 434.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.109e-05/0.2797, allocations: 71.33 kB / 434.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.2798, allocations: 31.36 kB / 434.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2798, allocations: 0 / 434.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of Templates: time 0.005319/0.2851, allocations: 2.901 MB / 437.6 MB, free: 396 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.3548086122609675] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.29348667711019516 0.30793116499999995 0.03188839799999994 Calling exit ...