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.001955/0.001955, allocations: 78.88 kB / 20.68 MB, free: 1.039 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.001884/0.001884, allocations: 149.6 kB / 23.94 MB, free: 4.176 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.438/1.438, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.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 1.202e-06/1.202e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.21e-05, allocations: 2.281 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001912/0.001934, allocations: 1.321 MB / 320.2 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004413/0.006347, allocations: 3.693 MB / 323.9 MB, free: 204 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.006383, allocations: 0 / 323.9 MB, free: 204 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.006401, allocations: 7.641 kB / 323.9 MB, free: 200 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009831/0.007384, allocations: 302.4 kB / 324.2 MB, free: 76 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.008609, allocations: 0.5137 MB / 324.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.008711, allocations: 59.48 kB / 324.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.008753, allocations: 7.438 kB / 324.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.008901, allocations: 46.14 kB / 324.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000827/0.009728, allocations: 363.3 kB / 325.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.009744, allocations: 2.562 kB / 325.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.01076, allocations: 0.5436 MB / 325.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.01078, allocations: 11.75 kB / 325.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.01081, allocations: 18.38 kB / 325.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007772/0.01159, allocations: 478.4 kB / 326.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.0116, allocations: 4 kB / 326.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.0116, allocations: 0.8125 kB / 326.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.0116, allocations: 0 / 326.3 MB, free: 15.38 MB / 302.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.000583/0.01218, allocations: 368.7 kB / 326.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.01222, allocations: 9.625 kB / 326.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.01226, allocations: 8.141 kB / 326.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.01247, allocations: 129 kB / 326.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.01248, allocations: 5.844 kB / 326.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.0125, allocations: 2.344 kB / 326.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.01267, allocations: 71.3 kB / 326.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.01269, allocations: 5.062 kB / 326.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.0127, allocations: 0 / 326.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.0127, allocations: 5.203 kB / 326.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.602e-05/0.01279, allocations: 19.58 kB / 326.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.01297, allocations: 114.6 kB / 327 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.01327, allocations: 83.11 kB / 327.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.041e-05/0.01335, allocations: 28.97 kB / 327.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003782/0.01373, allocations: 124.7 kB / 327.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.01376, allocations: 37.59 kB / 327.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.01376, allocations: 0 / 327.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003079/0.01407, allocations: 81.27 kB / 327.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.01413, allocations: 83.16 kB / 327.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.01425, allocations: 117.1 kB / 327.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.01426, allocations: 26.59 kB / 327.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.01431, allocations: 89.36 kB / 327.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.01435, allocations: 25.16 kB / 327.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.0144, allocations: 25.23 kB / 327.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.01456, allocations: 315.7 kB / 328 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.417e-05/0.01462, allocations: 14.5 kB / 328 MB, free: 13.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.011e-05/0.0147, allocations: 38.67 kB / 328 MB, free: 13.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.01486, allocations: 56.77 kB / 328.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01486, allocations: 0 / 328.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002099/0.01507, allocations: 83.55 kB / 328.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.01508, allocations: 6.25 kB / 328.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.01509, allocations: 5 kB / 328.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.01511, allocations: 1.062 kB / 328.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/0.01518, allocations: 20.92 kB / 328.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01519, allocations: 5.031 kB / 328.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-05/0.01525, allocations: 11 kB / 328.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.01526, allocations: 4.25 kB / 328.2 MB, free: 13.66 MB / 302.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.097e-05/0.01534, allocations: 112.9 kB / 328.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.01536, allocations: 3.312 kB / 328.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.01573, allocations: 129.5 kB / 328.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.01574, allocations: 2.922 kB / 328.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01574, allocations: 0 / 328.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01574, allocations: 1.859 kB / 328.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.01588, allocations: 120.7 kB / 328.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01588, allocations: 0 / 328.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.113e-05/0.01597, allocations: 21.05 kB / 328.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01597, allocations: 1.406 kB / 328.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.01599, allocations: 1.562 kB / 328.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.289e-06/0.01599, allocations: 9.25 kB / 328.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01599, allocations: 0.7031 kB / 328.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.01636, allocations: 146.9 kB / 328.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.0164, allocations: 10.44 kB / 328.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.01643, allocations: 2.203 kB / 328.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/0.0165, allocations: 6.141 kB / 328.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.01655, allocations: 10.23 kB / 328.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.01656, allocations: 7.516 kB / 328.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.491e-05/0.01665, allocations: 90.14 kB / 328.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01665, allocations: 0 / 328.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005583/0.0172, allocations: 135.5 kB / 329 MB, free: 13.09 MB / 302.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.0006747/0.01788, allocations: 305.9 kB / 329.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.01808, allocations: 48.03 kB / 329.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01809, allocations: 0 / 329.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/0.01818, allocations: 30.14 kB / 329.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.01837, allocations: 17.84 kB / 329.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.01886, allocations: 248.4 kB / 329.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.04e-05/0.01892, allocations: 70.19 kB / 329.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.295e-05/0.01899, allocations: 28.34 kB / 329.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.01903, allocations: 19.3 kB / 329.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.01903, allocations: 0.9375 kB / 329.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Templates: time 0.007316/0.02635, allocations: 3.097 MB / 332.9 MB, free: 11.3 MB / 302.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: 4.393262717872858] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.033925797790288925 0.050344148000000005 0.035581027 Calling exit ...