Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002457/0.002457, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.372e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002608/0.002631, allocations: 1.359 MB / 273.7 MB, free: 480 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005875/0.008506, allocations: 3.717 MB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.008538, allocations: 0 / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.008561, allocations: 3.938 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.009659, allocations: 306.7 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.01085, allocations: 0.5212 MB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.01096, allocations: 59.64 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.129e-05/0.011, allocations: 4 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.01113, allocations: 47.83 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007419/0.01187, allocations: 363.2 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.01189, allocations: 4 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.0129, allocations: 0.5339 MB / 279.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.01293, allocations: 19.91 kB / 279.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.01296, allocations: 8 kB / 279.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007978/0.01376, allocations: 498.6 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.01376, allocations: 0 / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01376, allocations: 4 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.01377, allocations: 0 / 279.7 MB, free: 10.38 MB / 266.7 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.0005937/0.01436, allocations: 361.4 kB / 280.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.01439, allocations: 8.031 kB / 280.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.01445, allocations: 12.89 kB / 280.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.01467, allocations: 133.6 kB / 280.2 MB, free: 9.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.01468, allocations: 4.312 kB / 280.2 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.0147, allocations: 4.375 kB / 280.2 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.01487, allocations: 71.69 kB / 280.3 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.01488, allocations: 0 / 280.3 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.01489, allocations: 4 kB / 280.3 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.01489, allocations: 4 kB / 280.3 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.934e-05/0.01498, allocations: 23.91 kB / 280.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.01516, allocations: 110.2 kB / 280.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.01569, allocations: 81.27 kB / 280.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.967e-05/0.01577, allocations: 25.72 kB / 280.6 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000388/0.01616, allocations: 127.9 kB / 280.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.01619, allocations: 38.56 kB / 280.7 MB, free: 9.258 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.01619, allocations: 4 kB / 280.7 MB, free: 9.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003229/0.01652, allocations: 89.48 kB / 280.8 MB, free: 9.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.01658, allocations: 77.11 kB / 280.9 MB, free: 9.066 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.01669, allocations: 109.8 kB / 281 MB, free: 8.949 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.01672, allocations: 25.7 kB / 281 MB, free: 8.918 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.01677, allocations: 84.14 kB / 281.1 MB, free: 8.832 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.01681, allocations: 27.78 kB / 281.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.01686, allocations: 21.72 kB / 281.1 MB, free: 8.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.01704, allocations: 314.8 kB / 281.5 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.0171, allocations: 16 kB / 281.5 MB, free: 8.445 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.01718, allocations: 39.42 kB / 281.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.01734, allocations: 63.34 kB / 281.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01734, allocations: 0 / 281.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002212/0.01756, allocations: 93.92 kB / 281.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.01757, allocations: 4 kB / 281.7 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.01758, allocations: 8 kB / 281.7 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.0176, allocations: 4 kB / 281.7 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.125e-05/0.01768, allocations: 19.98 kB / 281.7 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.01769, allocations: 0 / 281.7 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.01774, allocations: 4.047 kB / 281.7 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.01775, allocations: 7.984 kB / 281.7 MB, free: 8.176 MB / 266.7 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.578e-05/0.01785, allocations: 113.8 kB / 281.8 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.01787, allocations: 4 kB / 281.8 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/0.01823, allocations: 133.2 kB / 282 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.01824, allocations: 7.938 kB / 282 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.01824, allocations: 0 / 282 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01825, allocations: 0 / 282 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.01839, allocations: 121.2 kB / 282.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01839, allocations: 0 / 282.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.262e-05/0.01847, allocations: 11.98 kB / 282.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01847, allocations: 4 kB / 282.1 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.01849, allocations: 4 kB / 282.1 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.01849, allocations: 3.938 kB / 282.1 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01849, allocations: 0 / 282.1 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.01882, allocations: 149.8 kB / 282.2 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.01885, allocations: 11.97 kB / 282.3 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.01887, allocations: 8 kB / 282.3 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.944e-05/0.01892, allocations: 7.922 kB / 282.3 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.01896, allocations: 4 kB / 282.3 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.01897, allocations: 7.984 kB / 282.3 MB, free: 7.535 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.545e-05/0.01904, allocations: 83.28 kB / 282.4 MB, free: 7.453 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01904, allocations: 4 kB / 282.4 MB, free: 7.449 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004267/0.01947, allocations: 135.5 kB / 282.5 MB, free: 7.316 MB / 266.7 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.0005722/0.02004, allocations: 302.7 kB / 282.8 MB, free: 7.008 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.02023, allocations: 43.97 kB / 282.8 MB, free: 6.965 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.02023, allocations: 0 / 282.8 MB, free: 6.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.02032, allocations: 31.92 kB / 282.9 MB, free: 6.934 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.02053, allocations: 16.7 kB / 282.9 MB, free: 6.918 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.02104, allocations: 249.4 kB / 283.1 MB, free: 6.645 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.91e-05/0.02112, allocations: 71.59 kB / 283.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.639e-05/0.02119, allocations: 31.78 kB / 283.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.02123, allocations: 16.48 kB / 283.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.02123, allocations: 4 kB / 283.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of Templates: time 0.007467/0.0287, allocations: 3.179 MB / 286.4 MB, free: 3.367 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.450178193044849]