Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00145/0.00145, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001581/0.001581, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 59.06 kB / 307.6 MB, free: 0.6484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09899/0.1004, allocations: 50.53 MB / 358.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00286/0.1033, allocations: 1.362 MB / 359.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006351/0.1097, allocations: 4.042 MB / 363.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/0.1098, allocations: 0 / 363.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.1098, allocations: 3.938 kB / 363.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.1112, allocations: 283 kB / 363.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.1127, allocations: 0.4898 MB / 364.3 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.1129, allocations: 59.66 kB / 364.4 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.1129, allocations: 8.266 kB / 364.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1131, allocations: 35.84 kB / 364.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007095/0.1138, allocations: 355.3 kB / 364.8 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1138, allocations: 0 / 364.8 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.1149, allocations: 0.5576 MB / 365.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.1149, allocations: 11.98 kB / 365.3 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.1149, allocations: 19.88 kB / 365.4 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009602/0.1159, allocations: 455.1 kB / 365.8 MB, free: 6.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1159, allocations: 0 / 365.8 MB, free: 6.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1159, allocations: 4 kB / 365.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.116, allocations: 3.938 kB / 365.8 MB, free: 6.422 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.0006327/0.1166, allocations: 443.1 kB / 366.2 MB, free: 5.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1166, allocations: 11.97 kB / 366.2 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.1167, allocations: 4.938 kB / 366.3 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.1169, allocations: 180.3 kB / 366.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.117, allocations: 8.375 kB / 366.4 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.117, allocations: 3.938 kB / 366.4 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1171, allocations: 63.39 kB / 366.5 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1172, allocations: 0 / 366.5 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1172, allocations: 4 kB / 366.5 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1172, allocations: 4 kB / 366.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.983e-05/0.1173, allocations: 19.91 kB / 366.5 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.1175, allocations: 170.5 kB / 366.7 MB, free: 5.379 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.1178, allocations: 89.11 kB / 366.8 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.769e-05/0.1179, allocations: 25.77 kB / 366.8 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.119, allocations: 1.54 MB / 368.3 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.119, allocations: 34.56 kB / 368.4 MB, free: 3.309 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.119, allocations: 4 kB / 368.4 MB, free: 3.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003094/0.1193, allocations: 85.5 kB / 368.5 MB, free: 3.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.1194, allocations: 81.11 kB / 368.5 MB, free: 3.117 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.1195, allocations: 105.8 kB / 368.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1195, allocations: 29.7 kB / 368.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.1196, allocations: 84.14 kB / 368.8 MB, free: 2.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.1196, allocations: 23.7 kB / 368.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.1197, allocations: 21.72 kB / 368.8 MB, free: 2.832 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1198, allocations: 314.8 kB / 369.1 MB, free: 2.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.894e-05/0.1198, allocations: 12 kB / 369.1 MB, free: 2.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/0.1199, allocations: 43.36 kB / 369.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1201, allocations: 59.78 kB / 369.2 MB, free: 2.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1201, allocations: 3.938 kB / 369.2 MB, free: 2.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001996/0.1203, allocations: 93.38 kB / 369.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1203, allocations: 8 kB / 369.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1203, allocations: 0 / 369.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.1204, allocations: 0 / 369.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.1204, allocations: 15.98 kB / 369.3 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1204, allocations: 8.062 kB / 369.4 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.1205, allocations: 7.938 kB / 369.4 MB, free: 2.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.1205, allocations: 4 kB / 369.4 MB, free: 2.234 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.468e-05/0.1206, allocations: 125.7 kB / 369.5 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.1206, allocations: 3.984 kB / 369.5 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.121, allocations: 133.2 kB / 369.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.121, allocations: 0 / 369.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.121, allocations: 0 / 369.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.121, allocations: 4 kB / 369.6 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.1212, allocations: 173.6 kB / 369.8 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1212, allocations: 4 kB / 369.8 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.946e-05/0.1213, allocations: 11.98 kB / 369.8 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1213, allocations: 0 / 369.8 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1213, allocations: 4 kB / 369.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1213, allocations: 3.938 kB / 369.8 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1213, allocations: 4 kB / 369.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.1216, allocations: 142.3 kB / 370 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.1217, allocations: 85.12 kB / 370 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.1217, allocations: 4 kB / 370 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.099e-05/0.1218, allocations: 3.984 kB / 370.1 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.1218, allocations: 4 kB / 370.1 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.1218, allocations: 8.062 kB / 370.1 MB, free: 1.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.655e-05/0.1219, allocations: 95.33 kB / 370.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1219, allocations: 0 / 370.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004381/0.1223, allocations: 131.9 kB / 370.3 MB, free: 1.207 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.0006581/0.123, allocations: 303.4 kB / 370.6 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1232, allocations: 47.91 kB / 370.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1232, allocations: 4.125 kB / 370.6 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/0.1233, allocations: 23.98 kB / 370.7 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.1235, allocations: 22.88 kB / 370.7 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.1241, allocations: 324.4 kB / 371 MB, free: 480 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1438/0.2679, allocations: 0.6836 MB / 371.7 MB, free: 19.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.904e-05/0.268, allocations: 21.89 kB / 371.7 MB, free: 19.94 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.268, allocations: 0 / 371.7 MB, free: 19.94 MB / 302.1 MB Notification: Performance of Templates: time 0.005412/0.2734, allocations: 2.909 MB / 374.6 MB, free: 19.64 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)