Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001519/0.001519, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001729/0.001729, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.39/1.39, allocations: 230.5 MB / 258.1 MB, free: 8.137 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 67.89 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2272, allocations: 53.32 MB / 432 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002418/0.2296, allocations: 1.385 MB / 433.4 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005367/0.235, allocations: 4.083 MB / 437.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.235, allocations: 0 / 437.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.235, allocations: 3.938 kB / 437.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009461/0.236, allocations: 286.9 kB / 437.8 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.2371, allocations: 498.6 kB / 438.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.2372, allocations: 71.58 kB / 438.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.2372, allocations: 3.797 kB / 438.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.2373, allocations: 35.86 kB / 438.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006922/0.238, allocations: 367.3 kB / 438.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.238, allocations: 4 kB / 438.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000979/0.239, allocations: 0.62 MB / 439.4 MB, free: 12 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.239, allocations: 7.984 kB / 439.4 MB, free: 4 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.239, allocations: 19.92 kB / 439.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006765/0.2397, allocations: 460.5 kB / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.2397, allocations: 0 / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2397, allocations: 0 / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.2397, allocations: 3.938 kB / 439.9 MB, free: 15.53 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.0005862/0.2403, allocations: 442.4 kB / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2403, allocations: 12.03 kB / 440.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.2404, allocations: 4.891 kB / 440.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.2406, allocations: 188.2 kB / 440.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2406, allocations: 4.375 kB / 440.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.2406, allocations: 15.86 kB / 440.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.2408, allocations: 59.39 kB / 440.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2408, allocations: 4 kB / 440.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.2408, allocations: 0 / 440.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2408, allocations: 0 / 440.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.421e-05/0.2409, allocations: 27.91 kB / 440.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.2411, allocations: 166.6 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.2414, allocations: 85.11 kB / 440.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.2414, allocations: 21.77 kB / 440.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.2426, allocations: 1.544 MB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.2426, allocations: 34.56 kB / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2426, allocations: 0 / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002954/0.2429, allocations: 85.55 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.243, allocations: 81.11 kB / 442.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2431, allocations: 117.8 kB / 442.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.2431, allocations: 25.7 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.2432, allocations: 84.14 kB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.2432, allocations: 23.78 kB / 442.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.2432, allocations: 17.72 kB / 442.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.2434, allocations: 326.8 kB / 443.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.617e-05/0.2434, allocations: 12 kB / 443.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.2435, allocations: 39.36 kB / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.2436, allocations: 59.34 kB / 443.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2436, allocations: 4 kB / 443.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001951/0.2438, allocations: 85.88 kB / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2438, allocations: 8 kB / 443.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.2438, allocations: 4.094 kB / 443.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2439, allocations: 3.984 kB / 443.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.2439, allocations: 19.92 kB / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2439, allocations: 4 kB / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.128e-05/0.244, allocations: 0 / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.244, allocations: 12.06 kB / 443.4 MB, free: 11.33 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 7.935e-05/0.2441, allocations: 117.7 kB / 443.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.2441, allocations: 11.94 kB / 443.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.2444, allocations: 116.3 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.2444, allocations: 0 / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2444, allocations: 4 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2444, allocations: 4 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.2446, allocations: 181.5 kB / 443.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2446, allocations: 0 / 443.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.623e-05/0.2447, allocations: 11.98 kB / 443.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.2447, allocations: 4 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2447, allocations: 7.875 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2447, allocations: 0 / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2447, allocations: 0 / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.245, allocations: 141.8 kB / 444 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.2451, allocations: 93.08 kB / 444.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.2451, allocations: 0 / 444.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.436e-05/0.2451, allocations: 7.984 kB / 444.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.2451, allocations: 4 kB / 444.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.2452, allocations: 4 kB / 444.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.159e-05/0.2452, allocations: 91.27 kB / 444.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2452, allocations: 4.062 kB / 444.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004227/0.2456, allocations: 139.5 kB / 444.4 MB, free: 10.3 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.0005999/0.2462, allocations: 286.8 kB / 444.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.2464, allocations: 47.91 kB / 444.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2464, allocations: 0 / 444.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.856e-05/0.2465, allocations: 23.98 kB / 444.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.2467, allocations: 26.84 kB / 444.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.2472, allocations: 320 kB / 445 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.2475, allocations: 0.6885 MB / 445.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.2476, allocations: 27.36 kB / 445.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2476, allocations: 4 kB / 445.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of Templates: time 0.004969/0.2525, allocations: 2.92 MB / 448.7 MB, free: 5.93 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.8197753271088] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.26055423310026526 0.27447945900000004 0.031789377 Calling exit ...