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.0071/0.0071, allocations: 107.8 kB / 21.98 MB, free: 5.223 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.001958/0.001958, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.461/1.461, allocations: 230.6 MB / 259 MB, free: 8.031 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.002031/0.002031, allocations: 72.53 kB / 379.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2871, allocations: 53.35 MB / 433.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002842/0.29, allocations: 1.386 MB / 434.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006201/0.2962, allocations: 4.099 MB / 438.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.2962, allocations: 0 / 438.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.2962, allocations: 7.922 kB / 438.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.2975, allocations: 294.9 kB / 438.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.2989, allocations: 0.5012 MB / 439.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.299, allocations: 63.64 kB / 439.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.2991, allocations: 11.8 kB / 439.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2992, allocations: 39.84 kB / 439.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008821/0.3001, allocations: 371.2 kB / 439.9 MB, free: 172 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.3001, allocations: 0 / 439.9 MB, free: 172 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.3014, allocations: 0.6589 MB / 440.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.3014, allocations: 4 kB / 440.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.287e-05/0.3015, allocations: 23.88 kB / 440.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008843/0.3024, allocations: 452.3 kB / 441 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.3024, allocations: 4 kB / 441 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3024, allocations: 0 / 441 MB, free: 15.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3024, allocations: 0 / 441 MB, free: 15.04 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.0006669/0.3031, allocations: 365.3 kB / 441.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3031, allocations: 12.03 kB / 441.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.3031, allocations: 12.83 kB / 441.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.3034, allocations: 130.4 kB / 441.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3034, allocations: 4.375 kB / 441.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.3034, allocations: 7.938 kB / 441.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.3036, allocations: 59.39 kB / 441.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3036, allocations: 0 / 441.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3036, allocations: 0 / 441.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3036, allocations: 4 kB / 441.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.873e-05/0.3037, allocations: 27.91 kB / 441.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.3039, allocations: 141.7 kB / 441.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.3043, allocations: 85.12 kB / 441.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.536e-05/0.3044, allocations: 21.7 kB / 441.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003801/0.3048, allocations: 119.9 kB / 442 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.3048, allocations: 30.56 kB / 442 MB, free: 13.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.3048, allocations: 0 / 442 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003274/0.3051, allocations: 93.8 kB / 442.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.3052, allocations: 81.11 kB / 442.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3053, allocations: 113.8 kB / 442.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3053, allocations: 25.7 kB / 442.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.3054, allocations: 84.14 kB / 442.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.3054, allocations: 19.8 kB / 442.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.3055, allocations: 25.7 kB / 442.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3056, allocations: 314.8 kB / 442.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/0.3057, allocations: 19.98 kB / 442.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.3058, allocations: 39.67 kB / 442.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.3059, allocations: 55.42 kB / 442.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3059, allocations: 7.938 kB / 442.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001983/0.3061, allocations: 97.42 kB / 443 MB, free: 12.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3061, allocations: 4 kB / 443 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3061, allocations: 4.156 kB / 443 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3061, allocations: 3.938 kB / 443 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.3062, allocations: 15.98 kB / 443 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3062, allocations: 7.984 kB / 443 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.3063, allocations: 0 / 443 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.3063, allocations: 8 kB / 443 MB, free: 12.8 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 0.0001599/0.3064, allocations: 121.8 kB / 443.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.3065, allocations: 3.953 kB / 443.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000415/0.3069, allocations: 124.4 kB / 443.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.3069, allocations: 3.984 kB / 443.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3069, allocations: 4 kB / 443.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3069, allocations: 0 / 443.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.3071, allocations: 156.6 kB / 443.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3071, allocations: 0 / 443.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.856e-05/0.3072, allocations: 12 kB / 443.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3072, allocations: 0 / 443.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3072, allocations: 0 / 443.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.3072, allocations: 3.984 kB / 443.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.3072, allocations: 7.938 kB / 443.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.3075, allocations: 141.8 kB / 443.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.3075, allocations: 15.97 kB / 443.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.3076, allocations: 0 / 443.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.432e-05/0.3076, allocations: 8 kB / 443.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.3076, allocations: 4.266 kB / 443.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.3076, allocations: 4 kB / 443.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.531e-05/0.3077, allocations: 91.27 kB / 443.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3077, allocations: 0 / 443.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004833/0.3082, allocations: 131.5 kB / 443.9 MB, free: 11.91 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.0005368/0.3087, allocations: 294.6 kB / 444.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.3089, allocations: 47.89 kB / 444.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3089, allocations: 0 / 444.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.914e-05/0.309, allocations: 27.98 kB / 444.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.3092, allocations: 12.69 kB / 444.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.3098, allocations: 320.9 kB / 444.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.3102, allocations: 0.6846 MB / 445.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.3103, allocations: 27.34 kB / 445.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3103, allocations: 0 / 445.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Templates: time 0.006657/0.3169, allocations: 2.914 MB / 448.2 MB, free: 7.555 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: 7.544182950165123] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.3264516079798341 0.34110931199999994 0.035516191 Calling exit ...