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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007858/0.0007859, allocations: 93.16 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008385/0.0008386, allocations: 175.4 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.000297, allocations: 8.625 kB / 302.1 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09686/0.09718, allocations: 50.42 MB / 352.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001462/0.09868, allocations: 1.083 MB / 353.6 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005051/0.1038, allocations: 3.984 MB / 357.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.1038, allocations: 4 kB / 357.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.1039, allocations: 7.922 kB / 357.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000935/0.1048, allocations: 231.3 kB / 357.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.1059, allocations: 441.9 kB / 358.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.782e-05/0.106, allocations: 59.72 kB / 358.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.1061, allocations: 0 / 358.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1062, allocations: 39.84 kB / 358.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007005/0.1069, allocations: 407.1 kB / 358.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1069, allocations: 3.938 kB / 358.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009055/0.1078, allocations: 0.5497 MB / 359.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.1079, allocations: 19.92 kB / 359.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.1079, allocations: 45.62 kB / 359.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.1085, allocations: 311.7 kB / 359.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1085, allocations: 0 / 359.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1085, allocations: 0 / 359.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1085, allocations: 4 kB / 359.6 MB, free: 12.5 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.0005214/0.109, allocations: 431.2 kB / 360.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1091, allocations: 8.031 kB / 360.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.1091, allocations: 8.844 kB / 360.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.1093, allocations: 188.2 kB / 360.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1094, allocations: 4.375 kB / 360.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.1094, allocations: 7.938 kB / 360.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1095, allocations: 63.33 kB / 360.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1095, allocations: 0 / 360.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1096, allocations: 0 / 360.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1096, allocations: 4 kB / 360.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.1097, allocations: 19.97 kB / 360.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.1098, allocations: 174.6 kB / 360.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.1101, allocations: 81.05 kB / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.574e-05/0.1102, allocations: 25.77 kB / 360.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009583/0.1111, allocations: 1.54 MB / 362.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1112, allocations: 38.55 kB / 362.2 MB, free: 9.391 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.474e-06/0.1112, allocations: 3.938 kB / 362.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002715/0.1115, allocations: 77.59 kB / 362.3 MB, free: 9.305 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1115, allocations: 85.05 kB / 362.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.58e-05/0.1116, allocations: 117.7 kB / 362.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.1116, allocations: 33.7 kB / 362.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.1117, allocations: 80.14 kB / 362.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.1117, allocations: 27.72 kB / 362.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.1118, allocations: 13.72 kB / 362.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.1119, allocations: 314.8 kB / 363 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.1119, allocations: 15.98 kB / 363 MB, free: 8.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.408e-05/0.112, allocations: 39.42 kB / 363 MB, free: 8.527 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1121, allocations: 55.36 kB / 363.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1121, allocations: 0 / 363.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001805/0.1123, allocations: 89.44 kB / 363.1 MB, free: 8.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1123, allocations: 8 kB / 363.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1124, allocations: 4.062 kB / 363.2 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1124, allocations: 3.938 kB / 363.2 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.595e-05/0.1124, allocations: 15.94 kB / 363.2 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1125, allocations: 7.984 kB / 363.2 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.1125, allocations: 4 kB / 363.2 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.1125, allocations: 4 kB / 363.2 MB, free: 8.32 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 7.098e-05/0.1126, allocations: 117.8 kB / 363.3 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.1126, allocations: 7.906 kB / 363.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.113, allocations: 121.7 kB / 363.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.113, allocations: 0 / 363.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.113, allocations: 3.938 kB / 363.4 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.113, allocations: 7.984 kB / 363.4 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.1131, allocations: 173.5 kB / 363.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1131, allocations: 0 / 363.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.589e-05/0.1132, allocations: 11.98 kB / 363.6 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1132, allocations: 8.031 kB / 363.6 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1132, allocations: 4 kB / 363.6 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1133, allocations: 0 / 363.6 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1133, allocations: 0 / 363.6 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.1135, allocations: 153.7 kB / 363.8 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.1136, allocations: 93.03 kB / 363.9 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.1136, allocations: 4.062 kB / 363.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.099e-05/0.1137, allocations: 11.92 kB / 363.9 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.1137, allocations: 0 / 363.9 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1137, allocations: 4 kB / 363.9 MB, free: 7.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.029e-05/0.1138, allocations: 91.27 kB / 364 MB, free: 7.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1138, allocations: 0 / 364 MB, free: 7.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.1142, allocations: 135.8 kB / 364.1 MB, free: 7.289 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.0006036/0.1148, allocations: 285.2 kB / 364.4 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.115, allocations: 43.91 kB / 364.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.115, allocations: 3.938 kB / 364.4 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.382e-05/0.1151, allocations: 31.92 kB / 364.5 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.1153, allocations: 22.48 kB / 364.5 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.1158, allocations: 373.5 kB / 364.9 MB, free: 6.512 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.116, allocations: 0.6887 MB / 365.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.1161, allocations: 23.42 kB / 365.6 MB, free: 5.773 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1161, allocations: 0 / 365.6 MB, free: 5.773 MB / 302.1 MB Notification: Performance of Templates: time 0.005092/0.1212, allocations: 2.87 MB / 368.4 MB, free: 2.922 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (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)